Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
| 3 |
|
| 4 |
pipe = pipeline("sentiment-analysis")
|
| 5 |
|
| 6 |
-
def senti(
|
| 7 |
return pipe(text)
|
| 8 |
|
| 9 |
iface = gr.Interface(
|
|
|
|
| 3 |
|
| 4 |
pipe = pipeline("sentiment-analysis")
|
| 5 |
|
| 6 |
+
def senti(sentiment):
|
| 7 |
return pipe(text)
|
| 8 |
|
| 9 |
iface = gr.Interface(
|