Spaces:
Runtime error
Runtime error
Anupam202224
commited on
Commit
•
f6652dc
1
Parent(s):
1620733
Update Clone the repository and push
Browse files
Clone the repository and push
CHANGED
@@ -1,4 +1,15 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
cd heart-disease-prediction
|
3 |
cp /path/to/your/code/* .
|
4 |
git add .
|
|
|
1 |
+
from huggingface_hub import HfApi
|
2 |
+
|
3 |
+
api = HfApi()
|
4 |
+
api.upload_file(
|
5 |
+
path_or_fileobj="/absolute/path/to/logistic_model_pipeline.pkl2",
|
6 |
+
path_in_repo="logistic_model_pipeline.pkl2",
|
7 |
+
repo_id="your-username/your-repo-name",
|
8 |
+
repo_type="model"
|
9 |
+
)
|
10 |
+
|
11 |
+
|
12 |
+
git clone https://huggingface.co/Anupam202224/heart-disease-prediction
|
13 |
cd heart-disease-prediction
|
14 |
cp /path/to/your/code/* .
|
15 |
git add .
|