raj999 commited on
Commit
9625bf1
·
verified ·
1 Parent(s): b927962

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
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