Update app.py
Browse files
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
|
| 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")
|