Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ def analyze_sentiment(sec_text):
|
|
27 |
# Define the Gradio interface
|
28 |
gr_interface = gr.Interface(
|
29 |
fn=analyze_sentiment,
|
30 |
-
inputs=gr.Textbox(lines=1, placeholder=""),
|
31 |
-
outputs="",
|
32 |
title="Sentiment Analysis"
|
33 |
)
|
34 |
|
|
|
27 |
# Define the Gradio interface
|
28 |
gr_interface = gr.Interface(
|
29 |
fn=analyze_sentiment,
|
30 |
+
inputs=gr.Textbox(lines=1, placeholder="..."),
|
31 |
+
outputs="text",
|
32 |
title="Sentiment Analysis"
|
33 |
)
|
34 |
|