Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,6 @@ def enhance_video(video_path, model_name, denoise_strength, outscale, face_enhan
|
|
| 106 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue="violet"), title="🎥 AI Video Enhancer") as demo:
|
| 107 |
gr.Markdown(
|
| 108 |
"""
|
| 109 |
-
# 🎥 AI Video Enhancer & Upscaler
|
| 110 |
Improve video quality, upscale resolution, and restore faces with cutting-edge AI.
|
| 111 |
**Note:** Processing can be slow, especially for longer videos.
|
| 112 |
"""
|
|
@@ -116,12 +115,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="violet"), title="🎥 AI Video
|
|
| 116 |
# --- Input Column ---
|
| 117 |
with gr.Column(scale=1):
|
| 118 |
video_input = gr.Video(label="🎬 Upload Your Video")
|
| 119 |
-
|
| 120 |
-
examples=["sample_video.mp4"], # Add path to your example video
|
| 121 |
-
inputs=[video_input],
|
| 122 |
-
label="Click an example to start"
|
| 123 |
-
)
|
| 124 |
-
|
| 125 |
# Settings in a clean Accordion
|
| 126 |
with gr.Accordion("⚙️ Enhancement Options", open=True):
|
| 127 |
model_name = gr.Dropdown(
|
|
|
|
| 106 |
with gr.Blocks(theme=gr.themes.Soft(primary_hue="violet"), title="🎥 AI Video Enhancer") as demo:
|
| 107 |
gr.Markdown(
|
| 108 |
"""
|
|
|
|
| 109 |
Improve video quality, upscale resolution, and restore faces with cutting-edge AI.
|
| 110 |
**Note:** Processing can be slow, especially for longer videos.
|
| 111 |
"""
|
|
|
|
| 115 |
# --- Input Column ---
|
| 116 |
with gr.Column(scale=1):
|
| 117 |
video_input = gr.Video(label="🎬 Upload Your Video")
|
| 118 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
# Settings in a clean Accordion
|
| 120 |
with gr.Accordion("⚙️ Enhancement Options", open=True):
|
| 121 |
model_name = gr.Dropdown(
|