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

Set up instance on Streamlit Community Cloud #118

Open
caufieldjh opened this issue Dec 2, 2024 · 4 comments
Open

Set up instance on Streamlit Community Cloud #118

caufieldjh opened this issue Dec 2, 2024 · 4 comments

Comments

@caufieldjh
Copy link
Member

@iQuxLE

Trying out an app deployment like this: https://blog.streamlit.io/host-your-streamlit-app-for-free/
See also: https://docs.streamlit.io/deploy/streamlit-community-cloud/deploy-your-app/secrets-management

Currently encountering an issue because the Streamlit cloud platform doesn't have the libraries gpt4all needs:

OSError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/adminuser/venv/lib/python3.11/site-packages/gpt4all/llmodel_DO_NOT_MODIFY/build/libllmodel.so)
2024-12-02 16:51:39.342 503 GET /script-health-check (127.0.0.1) 248.17ms

So this may work if that library is made optional.

@caufieldjh
Copy link
Member Author

Fixed the gpt4all issue with #120 and #121 , now getting this error on the Streamlit deployment:

RuntimeError: �[91mYour system has an unsupported version of sqlite3. Chroma requires sqlite3 >= 3.35.0.�[0m
�[94mPlease visit https://docs.trychroma.com/troubleshooting#sqlite to learn how to upgrade.�[0m

@caufieldjh
Copy link
Member Author

@caufieldjh
Copy link
Member Author

caufieldjh commented Dec 2, 2024

sqlite3 3.37.2 works well (locally - trying to get this to install on the SCC instance)

@caufieldjh
Copy link
Member Author

Still not quite working even after specifying sqlite3 as an external dependency in packages.txt - unclear if it's getting updated or not.

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