MEOW commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,10 +145,10 @@ with gr.Blocks() as demo:
|
|
| 145 |
gr.Markdown("Upload **at least** one document, optional to input HTML URL before Q&A")
|
| 146 |
|
| 147 |
with gr.Row():
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
|
| 153 |
load_output = gr.Textbox(label="Load Status")
|
| 154 |
|
|
|
|
| 145 |
gr.Markdown("Upload **at least** one document, optional to input HTML URL before Q&A")
|
| 146 |
|
| 147 |
with gr.Row():
|
| 148 |
+
with gr.Column(): # Group file_uploader and url_input on the left
|
| 149 |
+
file_uploader = gr.File(label="Select files to upload", file_count="multiple")
|
| 150 |
+
url_input = gr.Textbox(label="🔗 Paste a URL (optional)", placeholder="Enter a HTML URL here")
|
| 151 |
+
load_btn = gr.Button("Upload input (PDF,CSV,Docx,Pptx,JPG,PNG,website)") # Place load_btn on the right
|
| 152 |
|
| 153 |
load_output = gr.Textbox(label="Load Status")
|
| 154 |
|