wzzanthony7 commited on
Commit
92746fc
·
verified ·
1 Parent(s): 708298b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -387,7 +387,7 @@ with gr.Blocks(
387
  css=r"""
388
  /* 精确命中这个 Textbox 的文本区 */
389
  textarea[aria-label="Textual Description"] {
390
- font-size: 24px !important;
391
  line-height: 1.6 !important;
392
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
393
  color: #222 !important;
@@ -423,7 +423,7 @@ with gr.Blocks(
423
  label="Select Model",
424
  info="Choose the YOLO model for detection"
425
  )
426
- run_btn = gr.Button("Run Visual Detection")
427
  img_out = gr.Image(type="pil", label="Image with Boxes")
428
  text_out = gr.Textbox(label="Textual Description", lines=8, elem_id="desc", elem_classes=["large-font"])
429
  json_state = gr.State("")
 
387
  css=r"""
388
  /* 精确命中这个 Textbox 的文本区 */
389
  textarea[aria-label="Textual Description"] {
390
+ font-size: 28px !important;
391
  line-height: 1.6 !important;
392
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
393
  color: #222 !important;
 
423
  label="Select Model",
424
  info="Choose the YOLO model for detection"
425
  )
426
+ run_btn = gr.Button("Run Detection")
427
  img_out = gr.Image(type="pil", label="Image with Boxes")
428
  text_out = gr.Textbox(label="Textual Description", lines=8, elem_id="desc", elem_classes=["large-font"])
429
  json_state = gr.State("")