Jeffgold commited on
Commit
a16bdc2
·
1 Parent(s): c1d520c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def transcode_video(video_file, output_file, output_format, output_fps):
17
  """
18
 
19
  # Create a folder to save the transcoded video file to.
20
- output_dir = os.path.dirname(output_dir)
21
  if not os.path.exists(output_dir):
22
  os.makedirs(output_dir)
23
 
 
17
  """
18
 
19
  # Create a folder to save the transcoded video file to.
20
+ output_dir = os.path.dirname(output_file)
21
  if not os.path.exists(output_dir):
22
  os.makedirs(output_dir)
23