Karthikeyan commited on
Commit
44b7db9
1 Parent(s): 018a8c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -211,13 +211,13 @@ class Chatbot:
211
  with gr.Column(scale=1, min_width=0):
212
  file_url = gr.Textbox(label='file url :',show_label=True, placeholder="")
213
  with gr.Row(elem_id="row-flex"):
214
- with gr.Column(scale=0.90, min_width=160):
215
- file_output = gr.File(elem_classes="heightfit")
216
- with gr.Column(scale=0.10, min_width=160):
217
- upload_button = gr.UploadButton(
218
- "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
219
- elem_classes="heightfit",
220
- file_count = "multiple")
221
  with gr.Row():
222
  chatbot = gr.Chatbot([], elem_id="chatbot")
223
  with gr.Row():
 
211
  with gr.Column(scale=1, min_width=0):
212
  file_url = gr.Textbox(label='file url :',show_label=True, placeholder="")
213
  with gr.Row(elem_id="row-flex"):
214
+ with gr.Accordion("Upload Files", open = False):
215
+ with gr.Column(scale=0.90, min_width=160):
216
+ file_output = gr.File(elem_classes="heightfit")
217
+ with gr.Column(scale=0.10, min_width=160):
218
+ upload_button = gr.UploadButton(
219
+ "Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
220
+ file_count = "multiple")
221
  with gr.Row():
222
  chatbot = gr.Chatbot([], elem_id="chatbot")
223
  with gr.Row():