Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
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 |
|