ayoni02 commited on
Commit
6454685
·
verified ·
1 Parent(s): 01964e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def main():
20
  #st.write(results['sequence'])
21
  st.write(results['labels'][:3])
22
  st.write(results['scores'][:3])
23
- if results['labels'][0] != "NEUTRAL":
24
  st.write(f"This post is considered {results['labels'][0]}, Please review you words")
25
  else:
26
  st.write("Please enter some text to classify")
 
20
  #st.write(results['sequence'])
21
  st.write(results['labels'][:3])
22
  st.write(results['scores'][:3])
23
+ if results['labels'][0] != ("NEUTRAL" or "POSITIVE"):
24
  st.write(f"This post is considered {results['labels'][0]}, Please review you words")
25
  else:
26
  st.write("Please enter some text to classify")