Spaces:
Runtime error
Runtime error
Commit
·
96c93ae
1
Parent(s):
f7d01d2
Update app.py
Browse filesfixed missing quote
app.py
CHANGED
@@ -15,7 +15,7 @@ def greet(name):
|
|
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):
|
19 |
|
20 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
21 |
iface.launch()
|
|
|
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 |
|
20 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
21 |
iface.launch()
|