corykhal commited on
Commit
3265f6b
1 Parent(s): 5a474da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ with st.container():
21
 
22
  with st.container():
23
  st.write("---")
24
- if st.button("Analyze!") and text and model:
25
  result = analysis(text)
26
  sentiment = result[0]["label"]
27
  score = result[0]["score"]
 
21
 
22
  with st.container():
23
  st.write("---")
24
+ if st.button("Analyze!"):
25
  result = analysis(text)
26
  sentiment = result[0]["label"]
27
  score = result[0]["score"]