Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -365,6 +365,7 @@ body, .gradio-container {
|
|
| 365 |
font-size: 14px !important;
|
| 366 |
color: var(--color-text-button) !important;
|
| 367 |
background: var(--bg-button-secondary) !important;
|
|
|
|
| 368 |
}
|
| 369 |
.gr-button.submit-btn {
|
| 370 |
background: var(--bg-button-primary) !important;
|
|
@@ -414,6 +415,7 @@ textarea, input[type=text], input[type=email], input[type=password] {
|
|
| 414 |
border-top: none !important;
|
| 415 |
border-left: none !important;
|
| 416 |
transition: background-color 0.3s ease !important;
|
|
|
|
| 417 |
}
|
| 418 |
.tab-nav > button.selected {
|
| 419 |
background: var(--bg-tab-active) !important;
|
|
@@ -426,6 +428,7 @@ textarea, input[type=text], input[type=email], input[type=password] {
|
|
| 426 |
padding: 1rem;
|
| 427 |
border: 3px solid var(--color-border) !important;
|
| 428 |
margin-top: 1rem;
|
|
|
|
| 429 |
}
|
| 430 |
.gr-accordion > .label-wrap {
|
| 431 |
font-weight: 900 !important;
|
|
@@ -463,9 +466,9 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
|
|
| 463 |
with gr.Row(elem_id="main-row"):
|
| 464 |
with gr.Column(scale=2):
|
| 465 |
with gr.Column(elem_classes="card"):
|
| 466 |
-
with gr.
|
| 467 |
gr.Markdown("### INPUT")
|
| 468 |
-
with gr.
|
| 469 |
with gr.Tabs():
|
| 470 |
with gr.TabItem("Image Inference"):
|
| 471 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
|
@@ -498,9 +501,9 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
|
|
| 498 |
|
| 499 |
with gr.Column(scale=3):
|
| 500 |
with gr.Column(elem_classes="card"):
|
| 501 |
-
with gr.
|
| 502 |
gr.Markdown("### RESULT")
|
| 503 |
-
with gr.
|
| 504 |
output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=15, show_copy_button=True)
|
| 505 |
with gr.Accordion("(Result.md)", open=False):
|
| 506 |
markdown_output = gr.Markdown(label="(Result.Md)")
|
|
|
|
| 365 |
font-size: 14px !important;
|
| 366 |
color: var(--color-text-button) !important;
|
| 367 |
background: var(--bg-button-secondary) !important;
|
| 368 |
+
border-radius: 0 !important;
|
| 369 |
}
|
| 370 |
.gr-button.submit-btn {
|
| 371 |
background: var(--bg-button-primary) !important;
|
|
|
|
| 415 |
border-top: none !important;
|
| 416 |
border-left: none !important;
|
| 417 |
transition: background-color 0.3s ease !important;
|
| 418 |
+
border-radius: 0 !important;
|
| 419 |
}
|
| 420 |
.tab-nav > button.selected {
|
| 421 |
background: var(--bg-tab-active) !important;
|
|
|
|
| 428 |
padding: 1rem;
|
| 429 |
border: 3px solid var(--color-border) !important;
|
| 430 |
margin-top: 1rem;
|
| 431 |
+
border-radius: 0 !important;
|
| 432 |
}
|
| 433 |
.gr-accordion > .label-wrap {
|
| 434 |
font-weight: 900 !important;
|
|
|
|
| 466 |
with gr.Row(elem_id="main-row"):
|
| 467 |
with gr.Column(scale=2):
|
| 468 |
with gr.Column(elem_classes="card"):
|
| 469 |
+
with gr.Group(elem_classes="card-header"):
|
| 470 |
gr.Markdown("### INPUT")
|
| 471 |
+
with gr.Group(elem_classes="card-content"):
|
| 472 |
with gr.Tabs():
|
| 473 |
with gr.TabItem("Image Inference"):
|
| 474 |
image_query = gr.Textbox(label="Query Input", placeholder="Enter your query here...")
|
|
|
|
| 501 |
|
| 502 |
with gr.Column(scale=3):
|
| 503 |
with gr.Column(elem_classes="card"):
|
| 504 |
+
with gr.Group(elem_classes="card-header"):
|
| 505 |
gr.Markdown("### RESULT")
|
| 506 |
+
with gr.Group(elem_classes="card-content"):
|
| 507 |
output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=15, show_copy_button=True)
|
| 508 |
with gr.Accordion("(Result.md)", open=False):
|
| 509 |
markdown_output = gr.Markdown(label="(Result.Md)")
|