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