CoolFace
Apppublic

marcela9409/streamlit-teeth-segmentation

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Steps to run locally:

python3 -m venv env # To create an env
source env/bin/activate # To activate the env
pip3 install -r requirements.txt # To download packages needed
streamlit run app.py # To run the app
deactivate # To leave the env

Some useful commands:

pip3 install streamlit # Only the first time
pip3 install torch # Only the first time
pip3 freeze > requirements.txt # To export the libraries to a file

If you have issues with git push:

git remote get-url origin # Copy this value and then change according the next line
git remote set-url origin https://<user_name>:<token>@huggingface.co/<repo_path> # ex. git remote set-url origin https://marcela9409:valid_token@huggingface.co/spaces/marcela9409/streamlit-teeth-segmentation
git push