Spaces:
Sleeping
Sleeping
Aditya DN commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def gradio_interface():
|
|
| 96 |
gr.Markdown("Convert videos to audio, GIFs, images, or other formats easily with this powerful tool.")
|
| 97 |
|
| 98 |
with gr.Row():
|
| 99 |
-
video_file = gr.File(label="Upload Video File", type="
|
| 100 |
conversion_type = gr.Dropdown(label="Select Conversion Type", choices=['Video to Video', 'Video to Audio', 'Video to GIF', 'Video to Image'])
|
| 101 |
target_format = gr.Dropdown(label="Select Target Format", choices=supported_formats)
|
| 102 |
time_in_seconds = gr.Slider(label="Time (in seconds) for image extraction", minimum=0, maximum=300, step=1, value=0)
|
|
|
|
| 96 |
gr.Markdown("Convert videos to audio, GIFs, images, or other formats easily with this powerful tool.")
|
| 97 |
|
| 98 |
with gr.Row():
|
| 99 |
+
video_file = gr.File(label="Upload Video File", type="filepath", file_types=supported_formats)
|
| 100 |
conversion_type = gr.Dropdown(label="Select Conversion Type", choices=['Video to Video', 'Video to Audio', 'Video to GIF', 'Video to Image'])
|
| 101 |
target_format = gr.Dropdown(label="Select Target Format", choices=supported_formats)
|
| 102 |
time_in_seconds = gr.Slider(label="Time (in seconds) for image extraction", minimum=0, maximum=300, step=1, value=0)
|