Spaces:
Running
Running
corrected typo
Browse files
utils.py
CHANGED
|
@@ -19,4 +19,4 @@ def model_predict(model, tokenizer, sentences):
|
|
| 19 |
outputs = model(**inputs) # get the logits
|
| 20 |
label = np.argmax(outputs.logits.to("cpu"))
|
| 21 |
|
| 22 |
-
return int(
|
|
|
|
| 19 |
outputs = model(**inputs) # get the logits
|
| 20 |
label = np.argmax(outputs.logits.to("cpu"))
|
| 21 |
|
| 22 |
+
return int(label)
|