Spaces:
Sleeping
Sleeping
Abhishek0323
commited on
Commit
•
1d72653
1
Parent(s):
3598b04
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def custom_theme():
|
|
30 |
|
31 |
# Create Gradio interface
|
32 |
iface = gr.Interface(fn=predict_sentiment,
|
33 |
-
inputs=gr.
|
34 |
outputs=gr.outputs.Label(num_top_classes=3),
|
35 |
theme=custom_theme(),
|
36 |
title="Sentiment Analysis",
|
|
|
30 |
|
31 |
# Create Gradio interface
|
32 |
iface = gr.Interface(fn=predict_sentiment,
|
33 |
+
inputs=gr.Textbox(lines=2, placeholder="Type your sentence here..."),
|
34 |
outputs=gr.outputs.Label(num_top_classes=3),
|
35 |
theme=custom_theme(),
|
36 |
title="Sentiment Analysis",
|