kar0lina commited on
Commit
076f241
·
1 Parent(s): 53d66b2

Initial commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def trait_classifier(text: str) -> Dict[str, float]:
26
  top_k=None) # return all possible scores (not just top-1)
27
  neu_classifier = pipeline(task="text-classification",
28
  # Because our model is on Hugging Face already, we can pass in the model name directly
29
- model="kar0lina/petarda_xlm-roberta-base_pandora1000-neu", # link to model on HF Hub
30
  device="cuda" if torch.cuda.is_available() else "cpu",
31
  top_k=None) # return all possible scores (not just top-1)
32
  ope_classifier = pipeline(task="text-classification",
 
26
  top_k=None) # return all possible scores (not just top-1)
27
  neu_classifier = pipeline(task="text-classification",
28
  # Because our model is on Hugging Face already, we can pass in the model name directly
29
+ model="kar0lina/petarda-pandora1000-neu-xlm-roberta-base", # link to model on HF Hub
30
  device="cuda" if torch.cuda.is_available() else "cpu",
31
  top_k=None) # return all possible scores (not just top-1)
32
  ope_classifier = pipeline(task="text-classification",