kishanmaharaj commited on
Commit
5e2bd12
·
verified ·
1 Parent(s): b7c6d1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ model_name = "MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli" #"Moritz
15
  tokenizer = AutoTokenizer.from_pretrained(model_name)
16
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
17
 
18
- device = torch.device("cuda" if torch.cuda.is_available() else "CPU")
19
 
20
  labels = ["entailment", "neutral", "contradiction"]
21
 
 
15
  tokenizer = AutoTokenizer.from_pretrained(model_name)
16
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
17
 
18
+ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
19
 
20
  labels = ["entailment", "neutral", "contradiction"]
21