Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -95,8 +95,7 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
|
|
95 |
print(f"Output Path: {output_path}")
|
96 |
|
97 |
try:
|
98 |
-
subprocess.run(ffmpeg_command, shell=True, timeout=600)
|
99 |
-
|
100 |
except subprocess.TimeoutExpired:
|
101 |
print("ffmpeg timed out")
|
102 |
return "ffmpeg command timed out."
|
|
|
95 |
print(f"Output Path: {output_path}")
|
96 |
|
97 |
try:
|
98 |
+
subprocess.run(ffmpeg_command, shell=True, timeout=600)
|
|
|
99 |
except subprocess.TimeoutExpired:
|
100 |
print("ffmpeg timed out")
|
101 |
return "ffmpeg command timed out."
|