Karthikeyan commited on
Commit
3fe941b
·
1 Parent(s): a00a6a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -209,14 +209,16 @@ class Chatbot:
209
  gr.Markdown("**Upload your file**")
210
  with gr.Accordion("Upload Files", open = False):
211
  with gr.Row(elem_id="row-flex"):
212
- with gr.Column(scale=40):
213
- file_url = gr.Textbox(label='file url :',show_label=True,lines=4, placeholder="")
214
- with gr.Column(scale=0.50):
215
- file_output = gr.File()
216
- with gr.Column(scale=0.10):
217
- upload_button = gr.UploadButton(
218
- "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
219
- file_count = "multiple")
 
 
220
  with gr.Row():
221
  chatbot = gr.Chatbot([], elem_id="chatbot")
222
  with gr.Row():
 
209
  gr.Markdown("**Upload your file**")
210
  with gr.Accordion("Upload Files", open = False):
211
  with gr.Row(elem_id="row-flex"):
212
+ with gr.Row(elem_id="row-flex"):
213
+ with gr.Column(scale=1,):
214
+ file_url = gr.Textbox(label='file url :',show_label=True,lines=4, placeholder="")
215
+ with gr.Row(elem_id="row-flex"):
216
+ with gr.Column(scale=0.80):
217
+ file_output = gr.File()
218
+ with gr.Column(scale=0.20):
219
+ upload_button = gr.UploadButton(
220
+ "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
221
+ file_count = "multiple")
222
  with gr.Row():
223
  chatbot = gr.Chatbot([], elem_id="chatbot")
224
  with gr.Row():