Fix Gradio 5 video component startup
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def analyze(video):
|
|
| 14 |
with gr.Blocks(title="Simam Neural Codec Lab") as demo:
|
| 15 |
gr.Markdown("# Simam Neural Codec Lab\nMeasure the trade-offs that matter for immersive video: quality, bitrate, latency, GPU cost, and decoder compatibility.")
|
| 16 |
with gr.Row():
|
| 17 |
-
video = gr.Video(label="Short source clip"
|
| 18 |
report = gr.Markdown("Upload a clip, then run the benchmark.")
|
| 19 |
run = gr.Button("Run codec comparison", variant="primary")
|
| 20 |
outputs = gr.Files(label="Generated comparison files")
|
|
|
|
| 14 |
with gr.Blocks(title="Simam Neural Codec Lab") as demo:
|
| 15 |
gr.Markdown("# Simam Neural Codec Lab\nMeasure the trade-offs that matter for immersive video: quality, bitrate, latency, GPU cost, and decoder compatibility.")
|
| 16 |
with gr.Row():
|
| 17 |
+
video = gr.Video(label="Short source clip")
|
| 18 |
report = gr.Markdown("Upload a clip, then run the benchmark.")
|
| 19 |
run = gr.Button("Run codec comparison", variant="primary")
|
| 20 |
outputs = gr.Files(label="Generated comparison files")
|