sreepathi-ravikumar commited on
Commit
d4e0248
·
verified ·
1 Parent(s): 42bdded

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -238,12 +238,7 @@ def generate_video():
238
 
239
  # Return video file as blob
240
  output_path="https://videos.pexels.com/video-files/3173312/3173312-uhd_2560_1440_30fps.mp4"
241
- return send_file(
242
- output_path,
243
- mimetype='video/mp4',
244
- as_attachment=False,
245
- download_name="math.mp4"
246
- )
247
 
248
  except subprocess.TimeoutExpired:
249
  print("Video rendering timeout")
 
238
 
239
  # Return video file as blob
240
  output_path="https://videos.pexels.com/video-files/3173312/3173312-uhd_2560_1440_30fps.mp4"
241
+ return 0
 
 
 
 
 
242
 
243
  except subprocess.TimeoutExpired:
244
  print("Video rendering timeout")