Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def analyze_sentiment(text):
|
|
| 11 |
|
| 12 |
# Gradio interface
|
| 13 |
iface = gr.Interface(
|
| 14 |
-
|
| 15 |
inputs="text",
|
| 16 |
outputs="text",
|
| 17 |
title="Sentiment Analysis App",
|
|
|
|
| 11 |
|
| 12 |
# Gradio interface
|
| 13 |
iface = gr.Interface(
|
| 14 |
+
fn=analyze_sentiment,
|
| 15 |
inputs="text",
|
| 16 |
outputs="text",
|
| 17 |
title="Sentiment Analysis App",
|