maaz77 commited on
Commit
17531f3
1 Parent(s): 4721c8e

initial commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.text_area("Text Input", height=150)
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