Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -289,8 +289,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
| 289 |
|
| 290 |
|
| 291 |
chatbot = gr.Chatbot(
|
| 292 |
-
height=
|
| 293 |
-
show_label=
|
| 294 |
type="messages" # Using the new messages format
|
| 295 |
)
|
| 296 |
|
|
@@ -298,7 +298,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
| 298 |
question_input = gr.Textbox(
|
| 299 |
label="Ask a question:",
|
| 300 |
placeholder="Type your question here...",
|
| 301 |
-
scale=
|
| 302 |
)
|
| 303 |
clear_button = gr.Button("Clear Chat", scale=1)
|
| 304 |
|
|
|
|
| 289 |
|
| 290 |
|
| 291 |
chatbot = gr.Chatbot(
|
| 292 |
+
height=750,
|
| 293 |
+
show_label=True,
|
| 294 |
type="messages" # Using the new messages format
|
| 295 |
)
|
| 296 |
|
|
|
|
| 298 |
question_input = gr.Textbox(
|
| 299 |
label="Ask a question:",
|
| 300 |
placeholder="Type your question here...",
|
| 301 |
+
scale=30
|
| 302 |
)
|
| 303 |
clear_button = gr.Button("Clear Chat", scale=1)
|
| 304 |
|