Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,5 +20,5 @@ def classify(review):
|
|
20 |
|
21 |
|
22 |
label = gr.outputs.Label(num_top_classes=5)
|
23 |
-
iface = gr.Interface(fn=
|
24 |
iface.launch(inline=False)
|
|
|
20 |
|
21 |
|
22 |
label = gr.outputs.Label(num_top_classes=5)
|
23 |
+
iface = gr.Interface(fn=classify, inputs="text", outputs=label)
|
24 |
iface.launch(inline=False)
|