thak123 commited on
Commit
761d62a
1 Parent(s): 2dd65a9

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +3 -2
config.py CHANGED
@@ -1,7 +1,8 @@
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
- model_link = hf_hub_download(repo_id="FFZG-cleopatra/Croatian-News-Classifier",filename = "pytorch_model.bin")
 
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"