Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ def sentiment(name):
|
|
6 |
return out
|
7 |
|
8 |
pipe = pipeline("sentiment-analysis")
|
9 |
-
iface = gr.Interface(fn=sentiment, inputs="text", outputs="
|
10 |
iface.launch()
|
|
|
6 |
return out
|
7 |
|
8 |
pipe = pipeline("sentiment-analysis")
|
9 |
+
iface = gr.Interface(fn=sentiment, inputs="text", outputs="label")
|
10 |
iface.launch()
|