LiruiZhao commited on
Commit
621d96f
1 Parent(s): c50608b

[Minor] Reduce the time to acquire GPU.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -282,7 +282,7 @@ def generate(
282
 
283
  return [int(seed), text_cfg_scale, image_cfg_scale, edited_image, mix_image, edited_mask_copy, mask_video_path, image_video_path, input_image_copy, mix_result_with_red_mask]
284
 
285
- @spaces.GPU(duration=180)
286
  def generate_list(
287
  input_image: Image.Image,
288
  generate_list: str,
 
282
 
283
  return [int(seed), text_cfg_scale, image_cfg_scale, edited_image, mix_image, edited_mask_copy, mask_video_path, image_video_path, input_image_copy, mix_result_with_red_mask]
284
 
285
+ @spaces.GPU(duration=120)
286
  def generate_list(
287
  input_image: Image.Image,
288
  generate_list: str,