Shitao commited on
Commit
ef2764c
1 Parent(s): c0df1a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ pipe = OmniGenPipeline.from_pretrained(
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]
 
9
  "Shitao/OmniGen-v1"
10
  )
11
 
12
+ @spaces.GPU(duration=180)
13
  # 示例处理函数:生成图像
14
  def generate_image(text, img1, img2, img3, height, width, guidance_scale, inference_steps, seed):
15
  input_images = [img1, img2, img3]