KHUjongseo commited on
Commit
62dbcba
Β·
verified Β·
1 Parent(s): 2b41f18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -4
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
- gr.Markdown("## πŸŽ₯ Explainable Action Recognition: μ‚¬μš©μž 평가")
35
- gr.Markdown("λΉ„λ””μ˜€μ™€ 두 개의 μ„€λͺ…을 ν™•μΈν•˜κ³ , μ–΄λ–€ μ„€λͺ…이 더 직관적인지 선택해 μ£Όμ„Έμš”.")
 
 
 
 
 
 
36
 
37
  with gr.Row():
38
- gr.Video("assets/640320_video.mp4", label="🎬 μž…λ ₯ λΉ„λ””μ˜€")
 
 
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():