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