Update app.py
Browse files
app.py
CHANGED
|
@@ -631,6 +631,7 @@ def respond(message, history):
|
|
| 631 |
|
| 632 |
yield partial
|
| 633 |
|
|
|
|
| 634 |
# ============================================================================
|
| 635 |
# UI
|
| 636 |
# ============================================================================
|
|
@@ -667,10 +668,6 @@ textarea {
|
|
| 667 |
border-radius: 16px !important;
|
| 668 |
border: 1px solid #334155 !important;
|
| 669 |
}
|
| 670 |
-
|
| 671 |
-
button {
|
| 672 |
-
border-radius: 14px !important;
|
| 673 |
-
}
|
| 674 |
"""
|
| 675 |
|
| 676 |
theme = gr.themes.Soft(
|
|
@@ -698,8 +695,6 @@ demo = gr.ChatInterface(
|
|
| 698 |
placeholder="Message Treevik...",
|
| 699 |
container=False,
|
| 700 |
),
|
| 701 |
-
submit_btn="Send",
|
| 702 |
-
clear_btn="Clear",
|
| 703 |
theme=theme,
|
| 704 |
css=css,
|
| 705 |
)
|
|
@@ -710,3 +705,5 @@ demo.launch(
|
|
| 710 |
server_name="0.0.0.0",
|
| 711 |
server_port=7860,
|
| 712 |
)
|
|
|
|
|
|
|
|
|
| 631 |
|
| 632 |
yield partial
|
| 633 |
|
| 634 |
+
```python id="54rf5g"
|
| 635 |
# ============================================================================
|
| 636 |
# UI
|
| 637 |
# ============================================================================
|
|
|
|
| 668 |
border-radius: 16px !important;
|
| 669 |
border: 1px solid #334155 !important;
|
| 670 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 671 |
"""
|
| 672 |
|
| 673 |
theme = gr.themes.Soft(
|
|
|
|
| 695 |
placeholder="Message Treevik...",
|
| 696 |
container=False,
|
| 697 |
),
|
|
|
|
|
|
|
| 698 |
theme=theme,
|
| 699 |
css=css,
|
| 700 |
)
|
|
|
|
| 705 |
server_name="0.0.0.0",
|
| 706 |
server_port=7860,
|
| 707 |
)
|
| 708 |
+
|
| 709 |
+
|