Spaces:
Sleeping
Sleeping
Samarth991
commited on
Commit
•
be312e0
1
Parent(s):
7ff1f89
Updating Chat bot
Browse files- app.py +3 -2
- requirements.txt +2 -1
app.py
CHANGED
@@ -101,5 +101,6 @@ with gr.Blocks(css=css) as demo:
|
|
101 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
102 |
load_pdf = gr.Button("Load file to langchain")
|
103 |
|
104 |
-
chatbot = gr.Chatbot(
|
105 |
-
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter
|
|
|
|
101 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
102 |
load_pdf = gr.Button("Load file to langchain")
|
103 |
|
104 |
+
chatbot = gr.Chatbot()
|
105 |
+
question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter")
|
106 |
+
submit_button = gr.Button("Send Message")
|
requirements.txt
CHANGED
@@ -5,4 +5,5 @@ langchain
|
|
5 |
unstructured
|
6 |
unstructured[local-inference]
|
7 |
transformers
|
8 |
-
|
|
|
|
5 |
unstructured
|
6 |
unstructured[local-inference]
|
7 |
transformers
|
8 |
+
torch
|
9 |
+
faiss-cpu
|