Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,6 +18,6 @@ def classify(review):
|
|
| 18 |
probs = torch.sigmoid(logits)[0]
|
| 19 |
return dict(zip(types,map(float,probs)))
|
| 20 |
|
| 21 |
-
label = gr.outputs.
|
| 22 |
iface = gr.Interface(fn=classify,inputs='text',outputs = label)
|
| 23 |
iface.launch(inline=False)
|
|
|
|
| 18 |
probs = torch.sigmoid(logits)[0]
|
| 19 |
return dict(zip(types,map(float,probs)))
|
| 20 |
|
| 21 |
+
label = gr.outputs.Label()
|
| 22 |
iface = gr.Interface(fn=classify,inputs='text',outputs = label)
|
| 23 |
iface.launch(inline=False)
|