Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -679,7 +679,8 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, fill_height=True) as demo
|
|
| 679 |
placeholder="Ask anything... (RAG will be applied if enabled)",
|
| 680 |
lines=2,
|
| 681 |
max_lines=10,
|
| 682 |
-
autofocus=True
|
|
|
|
| 683 |
),
|
| 684 |
chatbot=gr.Chatbot(
|
| 685 |
height=550,
|
|
@@ -687,7 +688,9 @@ with gr.Blocks(theme=gr.themes.Soft(), css=custom_css, fill_height=True) as demo
|
|
| 687 |
render_markdown=True,
|
| 688 |
type="messages"
|
| 689 |
),
|
|
|
|
| 690 |
stop_btn="Stop",
|
|
|
|
| 691 |
multimodal=False
|
| 692 |
)
|
| 693 |
|
|
|
|
| 679 |
placeholder="Ask anything... (RAG will be applied if enabled)",
|
| 680 |
lines=2,
|
| 681 |
max_lines=10,
|
| 682 |
+
autofocus=True,
|
| 683 |
+
show_label=False
|
| 684 |
),
|
| 685 |
chatbot=gr.Chatbot(
|
| 686 |
height=550,
|
|
|
|
| 688 |
render_markdown=True,
|
| 689 |
type="messages"
|
| 690 |
),
|
| 691 |
+
submit_btn=gr.Button("Send", variant="primary", size="lg"),
|
| 692 |
stop_btn="Stop",
|
| 693 |
+
clear_btn=gr.Button("Clear", variant="secondary", size="sm"),
|
| 694 |
multimodal=False
|
| 695 |
)
|
| 696 |
|