Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ sentiment_pipeline = pipeline("sentiment-analysis")
|
|
5 |
|
6 |
st.title("Sentiment Analysis with HuggingFace Spaces")
|
7 |
st.write("Enter a sentence to analyze its sentiment:")
|
8 |
-
user_input = st.text_input("")
|
9 |
if user_input:
|
10 |
result = sentiment_pipeline(user_input)
|
11 |
sentiment = result[0]["label"]
|
|
|
5 |
|
6 |
st.title("Sentiment Analysis with HuggingFace Spaces")
|
7 |
st.write("Enter a sentence to analyze its sentiment:")
|
8 |
+
user_input = st.text_input("userinput")
|
9 |
if user_input:
|
10 |
result = sentiment_pipeline(user_input)
|
11 |
sentiment = result[0]["label"]
|