Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -276,13 +276,13 @@ with gr.Blocks() as app:
|
|
| 276 |
|
| 277 |
# Input row for query and PDF file (with PDF box sized smaller)
|
| 278 |
with gr.Row():
|
| 279 |
-
query_input = gr.Textbox(label="Ask a Question", placeholder="Type your diabetes-related query here...", lines=
|
| 280 |
-
with gr.Column(scale=0.
|
| 281 |
pdf_input = gr.File(label="Upload a PDF (optional, max 10 pages)", file_types=[".pdf"])
|
| 282 |
|
| 283 |
# Row for Submit and Clear buttons
|
| 284 |
with gr.Row():
|
| 285 |
-
submit_button = gr.Button("Ask", variant="
|
| 286 |
clear_button = gr.Button("Clear")
|
| 287 |
|
| 288 |
# Create a Chatbot component with type set to "messages" and a specified height
|
|
|
|
| 276 |
|
| 277 |
# Input row for query and PDF file (with PDF box sized smaller)
|
| 278 |
with gr.Row():
|
| 279 |
+
query_input = gr.Textbox(label="Ask a Question", placeholder="Type your diabetes-related query here...", lines=2)
|
| 280 |
+
with gr.Column(scale=0.2):
|
| 281 |
pdf_input = gr.File(label="Upload a PDF (optional, max 10 pages)", file_types=[".pdf"])
|
| 282 |
|
| 283 |
# Row for Submit and Clear buttons
|
| 284 |
with gr.Row():
|
| 285 |
+
submit_button = gr.Button("Ask", variant="primary")
|
| 286 |
clear_button = gr.Button("Clear")
|
| 287 |
|
| 288 |
# Create a Chatbot component with type set to "messages" and a specified height
|