Spaces:
Running
Running
Karthikeyan
commited on
Commit
·
7756f56
1
Parent(s):
f465155
Update app.py
Browse files
app.py
CHANGED
@@ -209,11 +209,11 @@ 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=
|
213 |
file_url = gr.Textbox(label='file url :',show_label=True, placeholder="")
|
214 |
-
with gr.Column(scale=0.
|
215 |
file_output = gr.File()
|
216 |
-
with gr.Column(scale=0.
|
217 |
upload_button = gr.UploadButton(
|
218 |
"Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
|
219 |
file_count = "multiple")
|
@@ -223,6 +223,7 @@ class Chatbot:
|
|
223 |
txt = gr.Textbox(
|
224 |
label = "Question",
|
225 |
show_label=True,
|
|
|
226 |
placeholder="Enter text and press enter, or upload an image",
|
227 |
)
|
228 |
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.Column(scale=35, lines=4,elem_id="row-flex"):
|
213 |
file_url = gr.Textbox(label='file url :',show_label=True, placeholder="")
|
214 |
+
with gr.Column(scale=0.60):
|
215 |
file_output = gr.File()
|
216 |
+
with gr.Column(scale=0.05):
|
217 |
upload_button = gr.UploadButton(
|
218 |
"Browse File", file_types=[".txt", ".pdf", ".doc", ".docx"],
|
219 |
file_count = "multiple")
|
|
|
223 |
txt = gr.Textbox(
|
224 |
label = "Question",
|
225 |
show_label=True,
|
226 |
+
lines=2,
|
227 |
placeholder="Enter text and press enter, or upload an image",
|
228 |
)
|
229 |
with gr.Row():
|