Spaces:
Running
Running
Karthikeyan
commited on
Commit
·
3fe941b
1
Parent(s):
a00a6a6
Update app.py
Browse files
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.
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
|
|
|
|
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():
|