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