fffiloni commited on
Commit
f66117f
1 Parent(s): 60b3014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,10 +45,10 @@ def infer():
45
 
46
  # Convert video to compatible codecs
47
  input_file_path = f"output_video/{output_name}.mp4"
48
- output_file_path = f"result"
49
  convert_video(input_file_path, output_file_path)
50
 
51
- return output_file_path
52
 
53
  with gr.Blocks() as demo:
54
  with gr.Column():
 
45
 
46
  # Convert video to compatible codecs
47
  input_file_path = f"output_video/{output_name}.mp4"
48
+ output_file_path = f"{output_name}"
49
  convert_video(input_file_path, output_file_path)
50
 
51
+ return f"{output_file_path}.mp4"
52
 
53
  with gr.Blocks() as demo:
54
  with gr.Column():