| title | Syncing Github To Huggingface |
|---|---|
| emoji | 📚 |
| colorFrom | yellow |
| colorTo | red |
| sdk | streamlit |
| sdk_version | 1.45.0 |
| app_file | app.py |
| pinned | false |
| license | mit |
| short_description | syncing-github-to-huggingface |
- Do NOT clone the HuggingFace Space's repo locally.
- Just copy contents of its README.md file
- DO clone the GitHub repo locally
Must have:
- requirements.txt
- app.py
- README.md <-- MUST START WITH with HuggingFace formatting (the stuff between the two --- at the top))
- Dont push any api keys...
- If using any api keys, add them to your HF_SPACE secrets via the huggingface space web site.
Get URL of your huggingface space
https://huggingface.co/spaces/HF_USERNAME/SPACE_NAME
https://huggingface.co/spaces/KingZack/syncing-github-to-huggingfacegit remote add space https://huggingface.co/spaces/KingZack/syncing-github-to-huggingface```git push --force space main- Dont forget, everytime you push to github you also have to push to huggingface by doing:
git push --force space main