Spaces:
Runtime error
Runtime error
Commit
·
69703e7
1
Parent(s):
dd0146e
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def greet(name):
|
|
| 13 |
outputs = model(**inputs)
|
| 14 |
|
| 15 |
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
|
| 16 |
-
print(predictions)
|
| 17 |
# return "Hello " + name + "!!"
|
| 18 |
return "Probabilities are listed here (False prob, then True prob): " + predictions
|
| 19 |
|
|
|
|
| 13 |
outputs = model(**inputs)
|
| 14 |
|
| 15 |
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
|
| 16 |
+
#print(predictions)
|
| 17 |
# return "Hello " + name + "!!"
|
| 18 |
return "Probabilities are listed here (False prob, then True prob): " + predictions
|
| 19 |
|