Spaces:
Sleeping
Sleeping
Miquel Farre
commited on
Commit
·
0fe0281
1
Parent(s):
c6371de
initial test
Browse files
app.py
CHANGED
|
@@ -110,7 +110,6 @@ def create_ui(examples_path: str):
|
|
| 110 |
video_component = gr.Video(
|
| 111 |
example["original"]["url"],
|
| 112 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
| 113 |
-
thumbnail=example["original"].get("thumbnail_url", None)
|
| 114 |
)
|
| 115 |
gr.Markdown(example["title"])
|
| 116 |
|
|
@@ -118,7 +117,6 @@ def create_ui(examples_path: str):
|
|
| 118 |
gr.Video(
|
| 119 |
example["highlights"]["url"],
|
| 120 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
| 121 |
-
thumbnail=example["highlights"].get("thumbnail_url", None)
|
| 122 |
)
|
| 123 |
with gr.Accordion("Analysis", open=False):
|
| 124 |
gr.Markdown(example["analysis"]["video_description"])
|
|
|
|
| 110 |
video_component = gr.Video(
|
| 111 |
example["original"]["url"],
|
| 112 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
|
|
|
| 113 |
)
|
| 114 |
gr.Markdown(example["title"])
|
| 115 |
|
|
|
|
| 117 |
gr.Video(
|
| 118 |
example["highlights"]["url"],
|
| 119 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
|
|
|
| 120 |
)
|
| 121 |
with gr.Accordion("Analysis", open=False):
|
| 122 |
gr.Markdown(example["analysis"]["video_description"])
|