Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,6 +73,12 @@ def respond(
|
|
73 |
demo = gr.Blocks()
|
74 |
|
75 |
with demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
|
77 |
with gr.Row():
|
78 |
# Chat interface for the RAG system
|
|
|
73 |
demo = gr.Blocks()
|
74 |
|
75 |
with demo:
|
76 |
+
with gr.Row():
|
77 |
+
# Input box for user to add documents
|
78 |
+
doc_input = gr.Textbox(
|
79 |
+
lines=10, placeholder="Enter your documents here, one per line.", label="Input Documents"
|
80 |
+
)
|
81 |
+
upload_button = gr.Button("Upload Documents")
|
82 |
|
83 |
with gr.Row():
|
84 |
# Chat interface for the RAG system
|