vickeee465 commited on
Commit
e19fb17
1 Parent(s): d8b101e

domains is a dict

Browse files
Files changed (1) hide show
  1. utils.py +2 -0
utils.py CHANGED
@@ -13,6 +13,8 @@ HF_TOKEN = os.environ["hf_read"]
13
 
14
  # should be a temporary solution
15
  models = [hf_manifesto_path(""), hf_sentiment_path(""), hf_emotion_path("")]
 
 
16
  for language in languages_cap:
17
  for domain in domains_cap:
18
  models.append(hf_cap_path(language, domain))
 
13
 
14
  # should be a temporary solution
15
  models = [hf_manifesto_path(""), hf_sentiment_path(""), hf_emotion_path("")]
16
+
17
+ domains_cap = list(domains_cap.values())
18
  for language in languages_cap:
19
  for domain in domains_cap:
20
  models.append(hf_cap_path(language, domain))