Pin dependencies.
Browse files- app.py +1 -1
- requirements.txt +4 -4
app.py
CHANGED
|
@@ -49,6 +49,6 @@ iface = gr.Interface(
|
|
| 49 |
fn=ask,
|
| 50 |
inputs=gr.Textbox(label="Question", placeholder="What is..."),
|
| 51 |
outputs=gr.Textbox(label="Answer"),
|
| 52 |
-
allow_flagging=
|
| 53 |
|
| 54 |
iface.launch(share=False)
|
|
|
|
| 49 |
fn=ask,
|
| 50 |
inputs=gr.Textbox(label="Question", placeholder="What is..."),
|
| 51 |
outputs=gr.Textbox(label="Answer"),
|
| 52 |
+
allow_flagging="never")
|
| 53 |
|
| 54 |
iface.launch(share=False)
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
langchain
|
| 2 |
-
faiss-cpu
|
| 3 |
-
|
| 4 |
protobuf==3.20.1
|
| 5 |
-
pymupdf
|
|
|
|
| 1 |
+
langchain==0.0.160
|
| 2 |
+
faiss-cpu==1.7.4
|
| 3 |
+
sentence-transformers==2.2.2
|
| 4 |
protobuf==3.20.1
|
| 5 |
+
pymupdf==1.22.2
|