[Minor] Reduce the time to acquire GPU.
Browse files
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=
|
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,
|