MEOW commited on
Commit
8b41010
·
unverified ·
1 Parent(s): 1373fbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -130,11 +130,15 @@ def stream_response(message,history):
130
 
131
  # Create the Gradio interface
132
  with gr.Blocks() as demo:
133
- gr.Markdown("# Multimodal RAG Chatbot")
 
134
 
135
  with gr.Row():
136
- file_input = gr.File(label="Select files to upload", file_count="multiple")
137
- load_btn = gr.Button("Load Documents (PDF,CSV,Docx,Pptx,JPG,PNG)")
 
 
 
138
 
139
  load_output = gr.Textbox(label="Load Status")
140
 
 
130
 
131
  # Create the Gradio interface
132
  with gr.Blocks() as demo:
133
+ gr.Markdown("# Multimodal RAG Chatbot 🦀 ")
134
+ description=("Upload **at least** one document, optional to input HTML URL before Q&A")
135
 
136
  with gr.Row():
137
+ 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