Spaces:
Running
on
A100
Running
on
A100
initial test
Browse files
app.py
CHANGED
@@ -91,23 +91,23 @@ def create_ui(examples_path: str):
|
|
91 |
with gr.Row():
|
92 |
for example in examples_data["examples"]:
|
93 |
with gr.Column():
|
94 |
-
gr.Markdown(f"## {example['title']}")
|
95 |
gr.Video(
|
96 |
value=example["original"]["url"],
|
97 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
98 |
interactive=False
|
99 |
)
|
|
|
100 |
|
101 |
with gr.Column():
|
102 |
-
with gr.Accordion("Model chain of thought details", open=False):
|
103 |
-
gr.Markdown(f"#Summary: {example['analysis']['video_description']}")
|
104 |
-
gr.Markdown(f"#Highlights to search for: {example['analysis']['highlight_types']}")
|
105 |
|
106 |
gr.Video(
|
107 |
value=example["highlights"]["url"],
|
108 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
109 |
interactive=False
|
110 |
)
|
|
|
|
|
|
|
111 |
|
112 |
|
113 |
gr.Markdown("## Try It Yourself!")
|
|
|
91 |
with gr.Row():
|
92 |
for example in examples_data["examples"]:
|
93 |
with gr.Column():
|
|
|
94 |
gr.Video(
|
95 |
value=example["original"]["url"],
|
96 |
label=f"Original ({format_duration(example['original']['duration_seconds'])})",
|
97 |
interactive=False
|
98 |
)
|
99 |
+
gr.Markdown(f"### {example['title']}")
|
100 |
|
101 |
with gr.Column():
|
|
|
|
|
|
|
102 |
|
103 |
gr.Video(
|
104 |
value=example["highlights"]["url"],
|
105 |
label=f"Highlights ({format_duration(example['highlights']['duration_seconds'])})",
|
106 |
interactive=False
|
107 |
)
|
108 |
+
with gr.Accordion("Model chain of thought details", open=False):
|
109 |
+
gr.Markdown(f"#Summary: {example['analysis']['video_description']}")
|
110 |
+
gr.Markdown(f"#Highlights to search for: {example['analysis']['highlight_types']}")
|
111 |
|
112 |
|
113 |
gr.Markdown("## Try It Yourself!")
|