Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: Could not import faiss python package. Please install it with pip install faiss-gpu (for CUDA supported GPU) or pip install faiss-cpu (depending on Python version). #161

Open
CodePro2113 opened this issue Aug 19, 2023 · 0 comments

Comments

@CodePro2113
Copy link

Hi,

I am a newbie and am trying to upload my app on streamlit cloud. My app is working fine on my local computer, but when I upload to Streamlit cloud, I get the following error while importing FAISS module.

image

In Github, I have included the below packages in requirements.txt:

langchain==0.0.256
openai==0.27.8
openapi-schema-pydantic==1.2.4
PyPDF2==3.0.1
tiktoken==0.4.0
FAISS-cpu==1.7.4
streamlit==1.25.0

Can someone please help as to how I can get this to work on streamlit colud.

Thanks in advance !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant