Shriharsh commited on
Commit
cb97d73
·
verified ·
1 Parent(s): d97e942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=4)
280
- with gr.Column(scale=0.4):
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="secondary")
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