title | python_version | sdk | sdk_version | app_file | pinned | |
---|---|---|---|---|---|---|
|
3.10.7 |
streamlit |
1.10.0 |
src/app.py |
false |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
- Copy from secrets_config/sample.secrets.toml to .streamlit/secrets.toml, and input value
env='develop'
hashed_text='5feceb66ffc86f38d952786c6d696c79c2dbc239dd4e91b46729d73a27fb57e9'
- Run build.sh
sh build.sh
- Run compose_up.sh
sh compose_up.sh
- Access to localhost:8501
# Basic
streamlit
pandas
numpy
matplotlib
scikit-learn
git remote add space https://huggingface.co/spaces/{{ OWNER NAME }}/{{ SPACE NAME}}
git push --force space main
# example:
git remote add space https://huggingface.co/spaces/tn1994/streamlit-template
git push --force space main
- Add README.md
https://huggingface.co/docs/hub/spaces-settings#spaces-settings
https://huggingface.co/docs/hub/spaces-config-reference
- Setup github actions
https://huggingface.co/docs/hub/spaces-github-actions
- Get access token
https://huggingface.co/settings/tokens
- Setup github action secrets
https://obel.hatenablog.jp/entry/20220129/1643400000
- Setup space secrets
https://huggingface.co/docs/hub/spaces-overview#managing-secrets
- Theme Settings