Spaces:
Sleeping
Sleeping
Karthikeyan
commited on
Commit
•
44b7db9
1
Parent(s):
018a8c9
Update app.py
Browse files
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.
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
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():
|