Spaces:
Sleeping
Sleeping
correcion modelo
Browse files
app.py
CHANGED
@@ -220,7 +220,7 @@ class Model:
|
|
220 |
|
221 |
inputs = self.tokenizer(self.texto, return_tensors="pt")
|
222 |
with torch.no_grad():
|
223 |
-
outputs = model(**inputs)
|
224 |
logits = outputs.logits
|
225 |
predictions = torch.argmax(logits, dim=2)
|
226 |
|
|
|
220 |
|
221 |
inputs = self.tokenizer(self.texto, return_tensors="pt")
|
222 |
with torch.no_grad():
|
223 |
+
outputs = self.model(**inputs)
|
224 |
logits = outputs.logits
|
225 |
predictions = torch.argmax(logits, dim=2)
|
226 |
|