Spaces:
Sleeping
Sleeping
dominguezdaniel
commited on
Commit
•
1efae8b
1
Parent(s):
68805b4
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def predict_sentiment(text):
|
|
20 |
|
21 |
# Create a Gradio interface
|
22 |
interface = gr.Interface(fn=predict_sentiment,
|
23 |
-
inputs=gr.
|
24 |
outputs="text",
|
25 |
title="Simple Text Sentiment Analysis",
|
26 |
description="A simple text sentiment analysis tool using Hugging Face's transformers.")
|
|
|
20 |
|
21 |
# Create a Gradio interface
|
22 |
interface = gr.Interface(fn=predict_sentiment,
|
23 |
+
inputs=gr.Textbox(lines=2, placeholder="Enter Text Here..."),
|
24 |
outputs="text",
|
25 |
title="Simple Text Sentiment Analysis",
|
26 |
description="A simple text sentiment analysis tool using Hugging Face's transformers.")
|