Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -387,7 +387,7 @@ with gr.Blocks(
|
|
| 387 |
css=r"""
|
| 388 |
/* 精确命中这个 Textbox 的文本区 */
|
| 389 |
textarea[aria-label="Textual Description"] {
|
| 390 |
-
font-size:
|
| 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
|
| 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("")
|