Youngsun Lim commited on
Commit
b22ee0d
·
1 Parent(s): 193d27e
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -191,6 +191,8 @@ html, body, .gradio-container { background: transparent !important; }
191
  border-color: transparent !important;
192
  box-shadow: none !important;
193
  }
 
 
194
  """
195
 
196
  # -------------------- UI --------------------
@@ -240,7 +242,7 @@ with gr.Blocks(fill_height=True, css=GLOBAL_CSS) as demo:
240
  with page_eval:
241
  # PID 입력
242
  with gr.Row():
243
- pid = gr.Textbox(label="Participant ID (required)", placeholder="e.g., Youngsun-2025/10/01", container=False)
244
 
245
  # 지침(원문) + 비디오 + 진행바 / 오른쪽에 슬라이더 + Save&Next
246
  with gr.Row(equal_height=True):
@@ -249,7 +251,7 @@ with gr.Blocks(fill_height=True, css=GLOBAL_CSS) as demo:
249
  video = gr.Video(label="Video", height=360)
250
  progress = gr.HTML(_progress_html(0, TOTAL_PER_PARTICIPANT))
251
  with gr.Column(scale=1):
252
- action_tb = gr.Textbox(label="Expected action", interactive=False, container=False)
253
  score = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=5.0,
254
  label="Action Consistency (0.0 (Worst) - 10.0 (Best))")
255
  save_next = gr.Button("💾 Save & Next ▶", variant="secondary", interactive=False)
 
191
  border-color: transparent !important;
192
  box-shadow: none !important;
193
  }
194
+ #eval .gr-form, #eval .gr-panel { background: transparent !important; box-shadow:none !important; border:none !important; }
195
+
196
  """
197
 
198
  # -------------------- UI --------------------
 
242
  with page_eval:
243
  # PID 입력
244
  with gr.Row():
245
+ pid = gr.Textbox(label="Participant ID (required)", placeholder="e.g., Youngsun-2025/10/01")
246
 
247
  # 지침(원문) + 비디오 + 진행바 / 오른쪽에 슬라이더 + Save&Next
248
  with gr.Row(equal_height=True):
 
251
  video = gr.Video(label="Video", height=360)
252
  progress = gr.HTML(_progress_html(0, TOTAL_PER_PARTICIPANT))
253
  with gr.Column(scale=1):
254
+ action_tb = gr.Textbox(label="Expected action", interactive=False)
255
  score = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=5.0,
256
  label="Action Consistency (0.0 (Worst) - 10.0 (Best))")
257
  save_next = gr.Button("💾 Save & Next ▶", variant="secondary", interactive=False)