Spaces:
Runtime error
Runtime error
Update config.py
Browse files
config.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
from huggingface_hub import hf_hub_download,snapshot_download
|
3 |
-
print(snapshot_download(repo_id="FFZG-cleopatra/Croatian-News-Classifier"))
|
4 |
-
|
5 |
|
6 |
print(os.listdir())
|
7 |
model_name = "FFZG-cleopatra/Croatian-News-Classifier"
|
|
|
1 |
import os
|
2 |
from huggingface_hub import hf_hub_download,snapshot_download
|
3 |
+
# print(snapshot_download(repo_id="FFZG-cleopatra/Croatian-News-Classifier"))
|
4 |
+
hf_hub_download(repo_id="FFZG-cleopatra/Croatian-News-Classifier",filename = "pytorch_model.bin")
|
5 |
|
6 |
print(os.listdir())
|
7 |
model_name = "FFZG-cleopatra/Croatian-News-Classifier"
|