Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,10 @@ pipe = pipeline("sentiment-analysis")
|
|
6 |
def get_sentiment(input):
|
7 |
return pipe(input)
|
8 |
|
9 |
-
demo = gr.Interface(fn=get_sentiment,
|
|
|
|
|
10 |
demo.launch()
|
11 |
|
|
|
|
|
|
6 |
def get_sentiment(input):
|
7 |
return pipe(input)
|
8 |
|
9 |
+
demo = gr.Interface(fn=get_sentiment,
|
10 |
+
inputs="text",
|
11 |
+
outputs=["text"])
|
12 |
demo.launch()
|
13 |
|
14 |
+
|
15 |
+
|