Spaces:
Running
Running
Anthony Liang commited on
Commit ·
b36fb1d
1
Parent(s): 679ca41
more clean up
Browse files
app.py
CHANGED
|
@@ -561,15 +561,15 @@ def process_two_videos(
|
|
| 561 |
# Create Gradio interface
|
| 562 |
try:
|
| 563 |
# Try with theme (Gradio 4.0+)
|
| 564 |
-
demo = gr.Blocks(title="
|
| 565 |
except TypeError:
|
| 566 |
# Fallback for older Gradio versions without theme support
|
| 567 |
-
demo = gr.Blocks(title="
|
| 568 |
|
| 569 |
with demo:
|
| 570 |
gr.Markdown(
|
| 571 |
"""
|
| 572 |
-
#
|
| 573 |
"""
|
| 574 |
)
|
| 575 |
|
|
@@ -723,9 +723,9 @@ with demo:
|
|
| 723 |
info="Frames per second to extract from video (higher = more frames)",
|
| 724 |
)
|
| 725 |
use_frame_steps_single = gr.Checkbox(
|
| 726 |
-
label="
|
| 727 |
value=False,
|
| 728 |
-
info="
|
| 729 |
)
|
| 730 |
analyze_single_btn = gr.Button("Analyze Video", variant="primary")
|
| 731 |
|
|
|
|
| 561 |
# Create Gradio interface
|
| 562 |
try:
|
| 563 |
# Try with theme (Gradio 4.0+)
|
| 564 |
+
demo = gr.Blocks(title="Robometer Evaluation Server", theme=gr.themes.Soft())
|
| 565 |
except TypeError:
|
| 566 |
# Fallback for older Gradio versions without theme support
|
| 567 |
+
demo = gr.Blocks(title="Robometer Evaluation Server")
|
| 568 |
|
| 569 |
with demo:
|
| 570 |
gr.Markdown(
|
| 571 |
"""
|
| 572 |
+
# Robometer Evaluation Server
|
| 573 |
"""
|
| 574 |
)
|
| 575 |
|
|
|
|
| 723 |
info="Frames per second to extract from video (higher = more frames)",
|
| 724 |
)
|
| 725 |
use_frame_steps_single = gr.Checkbox(
|
| 726 |
+
label="Per Frame Progress Prediction",
|
| 727 |
value=False,
|
| 728 |
+
info="If enabled, predict progress per frame rather than feeding the entire video at once",
|
| 729 |
)
|
| 730 |
analyze_single_btn = gr.Button("Analyze Video", variant="primary")
|
| 731 |
|