ayoni02 commited on
Commit
9989a70
·
verified ·
1 Parent(s): 419ce30

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'][0])
22
  st.write(int(results['scores'][0])*100)
23
- if (results['labels'][0] != "NEUTRAL") or results['labels'][0] != "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")
 
20
  #st.write(results['sequence'])
21
  st.write(results['labels'][0])
22
  st.write(int(results['scores'][0])*100)
23
+ if (results['labels'][0] != "NEUTRAL") and (results['labels'][0] != "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")