newtest / push.sh
aparke21's picture
Upload 106 files
9014afd verified
git init
git lfs install
git add app.py configs data requirements.txt unsloth utils.py
git commit -m "Initial commit"
git branch -M main
git lfs migrate import --include-ref=refs/heads/main --above=10MB -y
git remote add huggingface https://huggingface.co/spaces/anh-nn01/ai_empowered_community_simulation_beta
git push -u huggingface main --
# Notes:
# 1. use module load for lfs
# 2. use only launch(), not launch(share=True, max_threads=1,)
# 3. export full requirements.txt using pip freeze > requirements.txt
# => comment out `ipython` and `ollama` dependencies
# 4. Manual upload LoRA weights to HF repo due to potential file corruption
# 5. Manual upload of /app/assets/umd_logo.png
# 6. Perhaps manual upload everything is more stable for now :))