Colour buttons
Browse files
app.py
CHANGED
|
@@ -259,9 +259,9 @@ with gr.Blocks() as demo:
|
|
| 259 |
chatbot = gr.Chatbot(label="Chat", type="messages")
|
| 260 |
msg = gr.Textbox(label="Your message", placeholder="Enter clinical input...", show_label=False)
|
| 261 |
with gr.Row():
|
| 262 |
-
submit_btn = gr.Button("Submit")
|
| 263 |
-
|
| 264 |
-
|
| 265 |
def resolve_model_choice(mode, dropdown_value, textbox_value):
|
| 266 |
return textbox_value.strip() if mode == "Enter custom model" else dropdown_value
|
| 267 |
|
|
|
|
| 259 |
chatbot = gr.Chatbot(label="Chat", type="messages")
|
| 260 |
msg = gr.Textbox(label="Your message", placeholder="Enter clinical input...", show_label=False)
|
| 261 |
with gr.Row():
|
| 262 |
+
submit_btn = gr.Button("Submit", variant="primary")
|
| 263 |
+
clear_btn = gr.Button("Clear", variant="secondary")
|
| 264 |
+
|
| 265 |
def resolve_model_choice(mode, dropdown_value, textbox_value):
|
| 266 |
return textbox_value.strip() if mode == "Enter custom model" else dropdown_value
|
| 267 |
|