3gg commited on
Commit
4ade5dc
1 Parent(s): 5c402d8

Pin dependencies.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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=False)
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
- sentence_transformers
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