Jeffgold commited on
Commit
a53f47a
·
1 Parent(s): 6388cc6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def transcode_video(input_video_file, output_file, output_format, output_fps):
30
  return output_file
31
 
32
  def name_file(file_path):
33
- return os.path.basename(file_path)
34
 
35
  input_video_file = File(accept=".mp4, .mov, .avi, .flv, .wmv, .mpeg, .mpg, .ogg, .webm")
36
 
 
30
  return output_file
31
 
32
  def name_file(file_path):
33
+ return os.path.basename(file_path.name)
34
 
35
  input_video_file = File(accept=".mp4, .mov, .avi, .flv, .wmv, .mpeg, .mpg, .ogg, .webm")
36