Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,8 @@ from gradio import components
|
|
| 5 |
|
| 6 |
import tempfile
|
| 7 |
|
|
|
|
|
|
|
| 8 |
video_file = gr.inputs.File(label="Video File")
|
| 9 |
quality = gr.inputs.Dropdown(choices=["18", "23", "28", "32"], label="Quality", default="23")
|
| 10 |
aspect_ratio = gr.inputs.Dropdown(choices=["16:9", "4:3", "3:2", "2:1"], label="Aspect Ratio", default="16:9")
|
|
|
|
| 5 |
|
| 6 |
import tempfile
|
| 7 |
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
video_file = gr.inputs.File(label="Video File")
|
| 11 |
quality = gr.inputs.Dropdown(choices=["18", "23", "28", "32"], label="Quality", default="23")
|
| 12 |
aspect_ratio = gr.inputs.Dropdown(choices=["16:9", "4:3", "3:2", "2:1"], label="Aspect Ratio", default="16:9")
|