Hi @Pavan_sai_Sheshetti, welcome to the Streamlit community!!
I’m sorry to hear you had issues with dlib. I tried installing it via pip but couldn’t get it to work. However, it appears to work using conda. Here are the steps you need to follow to successfully deploy your app:
-
Delete your app from Streamlit Sharing
-
Delete your requirements.txt file
-
Create a
packages.txt
file to install the the apt-get dependencies fordlib
. Yourpackages.txt
should contain:build-essential libgtk-3-dev libboost-all-dev freeglut3-dev cmake libopenblas-dev
-
To install Python packages with conda, create an environment.yml file containing the following:
channels: - conda-forge dependencies: - dlib - numpy - scipy - opencv - face_recognition
-
Deploy your app on Streamlit Sharing
Once you follow all the steps, your deployed app should look like this:
Feel free to copy the requirements.txt
and environment.yml
files from my fork of your repo. Let us know if this helps!
Happy Streamlit-ing!
Snehan