Update FlowFacade.py
Browse files- FlowFacade.py +1 -1
FlowFacade.py
CHANGED
|
@@ -46,7 +46,7 @@ class FlowFacade:
|
|
| 46 |
if enable_prompt_expansion:
|
| 47 |
total_duration += 40
|
| 48 |
|
| 49 |
-
return max(int(total_duration),
|
| 50 |
|
| 51 |
@spaces.GPU(duration=_calculate_gpu_duration)
|
| 52 |
def generate_video_from_image(self, image: Image.Image, user_instruction: str,
|
|
|
|
| 46 |
if enable_prompt_expansion:
|
| 47 |
total_duration += 40
|
| 48 |
|
| 49 |
+
return max(int(total_duration), 300)
|
| 50 |
|
| 51 |
@spaces.GPU(duration=_calculate_gpu_duration)
|
| 52 |
def generate_video_from_image(self, image: Image.Image, user_instruction: str,
|