Spaces:
Runtime error
Runtime error
initial commit
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def main():
|
|
33 |
st.title("Sentiment Analysis")
|
34 |
st.write("Enter the text you'd like to analyze:")
|
35 |
|
36 |
-
user_input = st.
|
37 |
if st.button("Analyze Sentiment"):
|
38 |
if user_input:
|
39 |
# Preprocess the text
|
|
|
33 |
st.title("Sentiment Analysis")
|
34 |
st.write("Enter the text you'd like to analyze:")
|
35 |
|
36 |
+
user_input = st.text_input("Text Input") # Changed from st.text_area to st.text_input for single-line input
|
37 |
if st.button("Analyze Sentiment"):
|
38 |
if user_input:
|
39 |
# Preprocess the text
|