Jeffgold commited on
Commit
cb89d01
·
1 Parent(s): b7e494d

Update app.py

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