Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -102,9 +102,9 @@ def convert_video(video_file, quality, aspect_ratio, video_url):
|
|
102 |
text_contents = []
|
103 |
|
104 |
for path in output_paths:
|
105 |
-
|
106 |
html_links += f'<p><a href="http://localhost:5000/files/{path.name}" target="_blank">{path.stem}</a></p>'
|
107 |
-
|
108 |
if path.suffix in ['.mp4', '.webm', '.ogg']:
|
109 |
video_paths.append(f'http://localhost:5000/files/{path.name}')
|
110 |
elif path.suffix == '.txt':
|
|
|
102 |
text_contents = []
|
103 |
|
104 |
for path in output_paths:
|
105 |
+
# Create download links
|
106 |
html_links += f'<p><a href="http://localhost:5000/files/{path.name}" target="_blank">{path.stem}</a></p>'
|
107 |
+
|
108 |
if path.suffix in ['.mp4', '.webm', '.ogg']:
|
109 |
video_paths.append(f'http://localhost:5000/files/{path.name}')
|
110 |
elif path.suffix == '.txt':
|