MEOW commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,11 +134,11 @@ with gr.Blocks() as demo:
|
|
| 134 |
description=("Upload **at least** one document, optional to input HTML URL before Q&A")
|
| 135 |
|
| 136 |
with gr.Row():
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
|
| 143 |
load_output = gr.Textbox(label="Load Status")
|
| 144 |
|
|
|
|
| 134 |
description=("Upload **at least** one document, optional to input HTML URL before Q&A")
|
| 135 |
|
| 136 |
with gr.Row():
|
| 137 |
+
file_input = [
|
| 138 |
+
gr.File(label="Select files to upload", file_count="multiple"),
|
| 139 |
+
gr.Textbox(label="🔗 Paste a URL (optional)",placeholder="Enter a HTML URL here")
|
| 140 |
+
]
|
| 141 |
+
load_btn = gr.Button("Upload input (PDF,CSV,Docx,Pptx,JPG,PNG,website)")
|
| 142 |
|
| 143 |
load_output = gr.Textbox(label="Load Status")
|
| 144 |
|