atrkhomeini/indonesian-demographic
0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
4. Commit
**Second - Upload app.py:**
1. **"Add file"** → **"Upload files"**
2. Select `app.py` from `~/upload_to_hf/`
3. Commit
**Third - Upload requirements.txt:**
1. **"Add file"** → **"Upload files"**
2. Select `requirements.txt`
3. Commit
**Fourth - Create src folder with files:**
1. **"Add file"** → **"Create a new file"**
2. Filename: `src/__init__.py`
3. Copy content from your local `src/__init__.py`
4. Commit
5. Repeat for `src/data_loader.py`
6. Repeat for `src/visualizations.py`
**Fifth - Create .streamlit folder:**
1. **"Add file"** → **"Create a new file"**
2. Filename: `.streamlit/config.toml`
3. Copy content from your local `.streamlit/config.toml`
4. Commit
---
## **Check What Files You Should Have:**
After uploading, your **Files** tab should show:✅ README.md (with the --- config ---) ✅ app.py ✅ requirements.txt ✅ src/ ✅ _init.py ✅ dataloader.py ✅ visualizations.py ✅ .streamlit/ ✅ config.toml
