Spaces:
Running
on
Zero
Running
on
Zero
bugfix duration
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ pipe = OmniGenPipeline.from_pretrained(
|
|
9 |
"Shitao/OmniGen-v1"
|
10 |
)
|
11 |
|
12 |
-
@spaces.GPU(
|
13 |
# 示例处理函数:生成图像
|
14 |
def generate_image(text, img1, img2, img3, height, width, guidance_scale, inference_steps, seed):
|
15 |
input_images = [img1, img2, img3]
|
|
|
9 |
"Shitao/OmniGen-v1"
|
10 |
)
|
11 |
|
12 |
+
@spaces.GPU(duration=120)
|
13 |
# 示例处理函数:生成图像
|
14 |
def generate_image(text, img1, img2, img3, height, width, guidance_scale, inference_steps, seed):
|
15 |
input_images = [img1, img2, img3]
|