sreepathi-ravikumar commited on
Commit
d99b4bb
·
verified ·
1 Parent(s): 6827a99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.", 404
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