File size: 1,039 Bytes
43259a2
2767f6e
 
 
5a8dfb2
43259a2
2767f6e
43259a2
 
2767f6e
43259a2
 
 
2767f6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
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
```