Spaces:
Sleeping
Sleeping
update
Browse files- tasks/text.py +2 -2
tasks/text.py
CHANGED
@@ -99,8 +99,8 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
99 |
|
100 |
# Forward pass through the model
|
101 |
p = model(**tokenized_inputs)
|
102 |
-
|
103 |
-
predictions = np.append(predictions, p.
|
104 |
|
105 |
print("Finished prediction run")
|
106 |
|
|
|
99 |
|
100 |
# Forward pass through the model
|
101 |
p = model(**tokenized_inputs)
|
102 |
+
print(p)
|
103 |
+
predictions = np.append(predictions, p.numpy())
|
104 |
|
105 |
print("Finished prediction run")
|
106 |
|