Spaces:
Sleeping
Sleeping
Fix: scikit-learn 1.4.2 for compatibility
Browse files- requirements.txt +15 -11
requirements.txt
CHANGED
|
@@ -1,11 +1,15 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This is for your DEPLOYED APPLICATION
|
| 2 |
+
# Located at: HF Space root directory
|
| 3 |
+
# Used by: Docker container when building your app
|
| 4 |
+
from huggingface_hub import HfApi, login
|
| 5 |
+
|
| 6 |
+
login(token=HF_TOKEN)
|
| 7 |
+
api = HfApi(token=HF_TOKEN)
|
| 8 |
+
|
| 9 |
+
api.upload_file(
|
| 10 |
+
path_or_fileobj="requirements.txt", # Your updated file
|
| 11 |
+
path_in_repo="requirements.txt",
|
| 12 |
+
repo_id="dhani10/engine-condition-app",
|
| 13 |
+
repo_type="space",
|
| 14 |
+
commit_message="Fix: scikit-learn 1.4.2 for compatibility"
|
| 15 |
+
)
|