Add one-click fixture UI
Browse files
app.py
CHANGED
|
@@ -17,6 +17,7 @@ with gr.Blocks(title="Simam Neural Codec Lab") as demo:
|
|
| 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")
|
| 21 |
run.click(analyze, inputs=video, outputs=[report, outputs])
|
| 22 |
gr.Markdown("### Research boundary\nThis baseline uses host FFmpeg encoders. It is the control group for future learned-codec adapters; it does not claim neural compression superiority.")
|
|
|
|
| 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 |
+
gr.Examples([["examples/sample_codec.mp4"]], inputs=[video], label="Try the included synthetic fixture")
|
| 21 |
outputs = gr.Files(label="Generated comparison files")
|
| 22 |
run.click(analyze, inputs=video, outputs=[report, outputs])
|
| 23 |
gr.Markdown("### Research boundary\nThis baseline uses host FFmpeg encoders. It is the control group for future learned-codec adapters; it does not claim neural compression superiority.")
|