Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
·
3a76103
1
Parent(s):
8008be0
update
Browse files
app.py
CHANGED
@@ -309,11 +309,11 @@ def generate_video_from_image(
|
|
309 |
print("Width: ", width)
|
310 |
print("Num Frames: ", num_frames)
|
311 |
|
312 |
-
if len(prompt.strip()) < 50:
|
313 |
-
raise gr.Error(
|
314 |
-
"Prompt must be at least 50 characters long. Please provide more details for the best results.",
|
315 |
-
duration=5,
|
316 |
-
)
|
317 |
|
318 |
if not image_path:
|
319 |
raise gr.Error("Please provide an input image.", duration=5)
|
|
|
309 |
print("Width: ", width)
|
310 |
print("Num Frames: ", num_frames)
|
311 |
|
312 |
+
# if len(prompt.strip()) < 50:
|
313 |
+
# raise gr.Error(
|
314 |
+
# "Prompt must be at least 50 characters long. Please provide more details for the best results.",
|
315 |
+
# duration=5,
|
316 |
+
# )
|
317 |
|
318 |
if not image_path:
|
319 |
raise gr.Error("Please provide an input image.", duration=5)
|