| title: Streamlit Teeth Segmentation | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: red | |
| sdk: streamlit | |
| sdk_version: 1.30.0 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| 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 | |
| ``` |