Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_video():
|
|
23 |
return jsonify({"error": "prompts be must"}), 400
|
24 |
image_folder = "/tmp/images"
|
25 |
line=prompts.splitlines()
|
26 |
-
asyncio.run(main(
|
27 |
image_files = sorted(glob.glob(os.path.join(image_folder, "*.jpg")))
|
28 |
if not image_files:
|
29 |
raise ValueError("No images found in folder!")
|
|
|
23 |
return jsonify({"error": "prompts be must"}), 400
|
24 |
image_folder = "/tmp/images"
|
25 |
line=prompts.splitlines()
|
26 |
+
asyncio.run(main(line))
|
27 |
image_files = sorted(glob.glob(os.path.join(image_folder, "*.jpg")))
|
28 |
if not image_files:
|
29 |
raise ValueError("No images found in folder!")
|