Shitao commited on
Commit
103a228
1 Parent(s): 870ff75

bugfix duration

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(duratio=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=120)
13
  # 示例处理函数:生成图像
14
  def generate_image(text, img1, img2, img3, height, width, guidance_scale, inference_steps, seed):
15
  input_images = [img1, img2, img3]