cdb24 commited on
Commit
fd84c02
1 Parent(s): 119d9e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def main():
25
 
26
 
27
  input = st.text_area("Enter Tweet: ")
28
- if input:
29
  if selection == 'Model 1':
30
  rating = rate_ModelOne(input, model_one)
31
  st.write(f"Label: {rating[1]} \n Score : {rating[3]}")
 
25
 
26
 
27
  input = st.text_area("Enter Tweet: ")
28
+ if st.button('Rate') && input:
29
  if selection == 'Model 1':
30
  rating = rate_ModelOne(input, model_one)
31
  st.write(f"Label: {rating[1]} \n Score : {rating[3]}")