Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def get_video():
|
|
42 |
video_path = video_generation(text,prompts)
|
43 |
video_url = f"https://sreepathi-ravikumar-backendprocess.hf.space/{os.path.basename(video_path)}"
|
44 |
if not os.path.exists(video_file):
|
45 |
-
return "Video file not found."
|
46 |
|
47 |
return jsonify({"video_url": video_url})
|
48 |
|
|
|
42 |
video_path = video_generation(text,prompts)
|
43 |
video_url = f"https://sreepathi-ravikumar-backendprocess.hf.space/{os.path.basename(video_path)}"
|
44 |
if not os.path.exists(video_file):
|
45 |
+
return jsonify("Video file not found.")
|
46 |
|
47 |
return jsonify({"video_url": video_url})
|
48 |
|