Spaces:
Runtime error
Runtime error
Miquel Farre
commited on
Commit
·
6c8ddcc
1
Parent(s):
02abdab
initial test
Browse files
app.py
CHANGED
|
@@ -88,15 +88,17 @@ def create_ui(examples_path: str):
|
|
| 88 |
with gr.Row():
|
| 89 |
with gr.Column():
|
| 90 |
gr.Video(
|
| 91 |
-
example["original"]["url"],
|
| 92 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
|
|
|
| 93 |
)
|
| 94 |
gr.Markdown(example["title"])
|
| 95 |
|
| 96 |
with gr.Column():
|
| 97 |
gr.Video(
|
| 98 |
-
example["highlights"]["url"],
|
| 99 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
|
|
|
| 100 |
)
|
| 101 |
with gr.Accordion("Analysis", open=False):
|
| 102 |
gr.Markdown(example["analysis"]["video_description"])
|
|
|
|
| 88 |
with gr.Row():
|
| 89 |
with gr.Column():
|
| 90 |
gr.Video(
|
| 91 |
+
value=example["original"]["url"],
|
| 92 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
| 93 |
+
interactive=False
|
| 94 |
)
|
| 95 |
gr.Markdown(example["title"])
|
| 96 |
|
| 97 |
with gr.Column():
|
| 98 |
gr.Video(
|
| 99 |
+
value=example["highlights"]["url"],
|
| 100 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
| 101 |
+
interactive=False
|
| 102 |
)
|
| 103 |
with gr.Accordion("Analysis", open=False):
|
| 104 |
gr.Markdown(example["analysis"]["video_description"])
|