Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ def transcode_video(input_video_file, output_file, output_format, output_fps):
|
|
29 |
# Return the path to the transcoded file.
|
30 |
return output_file
|
31 |
|
32 |
-
def name_file(
|
33 |
-
return
|
34 |
|
35 |
input_video_file = File(accept=".mp4, .mov, .avi, .flv, .wmv, .mpeg, .mpg, .ogg, .webm")
|
36 |
|
|
|
29 |
# Return the path to the transcoded file.
|
30 |
return output_file
|
31 |
|
32 |
+
def name_file(file):
|
33 |
+
return file.name
|
34 |
|
35 |
input_video_file = File(accept=".mp4, .mov, .avi, .flv, .wmv, .mpeg, .mpg, .ogg, .webm")
|
36 |
|