Spaces:
Sleeping
Sleeping
Create git
Browse files
git
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 1. Clone the Space
|
| 2 |
+
git clone https://huggingface.co/spaces/Anupam007/
|
| 3 |
+
WeightPredict
|
| 4 |
+
|
| 5 |
+
cd
|
| 6 |
+
WeightPredict
|
| 7 |
+
|
| 8 |
+
# 2. Create app.py (paste your code)
|
| 9 |
+
# 3. Create requirements.txt (list dependencies)
|
| 10 |
+
|
| 11 |
+
# Create data folder and weight_journal.csv inside it
|
| 12 |
+
mkdir data
|
| 13 |
+
touch data/weight_journal.csv
|
| 14 |
+
|
| 15 |
+
# 4. Add, commit, and push
|
| 16 |
+
git add .
|
| 17 |
+
git commit -m "Initial commit"
|
| 18 |
+
git push
|
| 19 |
+
|
| 20 |
+
# 5. Monitor build logs on Hugging Face
|
| 21 |
+
# 6. Access your app at the Space's URL
|