Update app.py
Browse files
app.py
CHANGED
|
@@ -30,12 +30,20 @@ def submit_response(choice, feedback):
|
|
| 30 |
return f"β μ€λ₯ λ°μ: {e}"
|
| 31 |
|
| 32 |
# β
Gradio UI ꡬμ±
|
| 33 |
-
with gr.Blocks() as demo:
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
with gr.Row():
|
| 38 |
-
gr.
|
|
|
|
|
|
|
| 39 |
|
| 40 |
with gr.Row():
|
| 41 |
with gr.Column():
|
|
|
|
| 30 |
return f"β μ€λ₯ λ°μ: {e}"
|
| 31 |
|
| 32 |
# β
Gradio UI ꡬμ±
|
| 33 |
+
# with gr.Blocks() as demo:
|
| 34 |
+
|
| 35 |
+
# gr.Markdown("## π₯ Explainable Action Recognition: μ¬μ©μ νκ°")
|
| 36 |
+
# gr.Markdown("λΉλμ€μ λ κ°μ μ€λͺ
μ νμΈνκ³ , μ΄λ€ μ€λͺ
μ΄ λ μ§κ΄μ μΈμ§ μ νν΄ μ£ΌμΈμ.")
|
| 37 |
+
|
| 38 |
+
# with gr.Row():
|
| 39 |
+
# gr.Video("assets/640320_video.mp4", label="π¬ μ
λ ₯ λΉλμ€")
|
| 40 |
+
with gr.Blocks(css="#video_col video { max-width: 320px !important; height: auto !important; }") as demo:
|
| 41 |
+
gr.Markdown("## μ¬μ©μ νκ°")
|
| 42 |
|
| 43 |
with gr.Row():
|
| 44 |
+
with gr.Column(elem_id="video_col"): # β μ¬κΈ°μ ID λΆμ΄κΈ°!
|
| 45 |
+
gr.Video("assets/640320_video.mp4", label="π¬ μ
λ ₯ λΉλμ€")
|
| 46 |
+
|
| 47 |
|
| 48 |
with gr.Row():
|
| 49 |
with gr.Column():
|