pojitha commited on
Commit
ec2641a
1 Parent(s): 2f9c245

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -118,4 +118,6 @@ if user_input:
118
  X_train = X_train.append(processed_text, ignore_index=True)
119
  y_train = y_train.append(pd.Series([1]))
120
  pipeline.fit(X_train, y_train)
121
- st.write("Thank you for your contribution. We added that word into our system.")
 
 
 
118
  X_train = X_train.append(processed_text, ignore_index=True)
119
  y_train = y_train.append(pd.Series([1]))
120
  pipeline.fit(X_train, y_train)
121
+ st.write("Thank you for your contribution. We added that word into our system.")
122
+ if st.button("Refresh"):
123
+ st.experimental_rerun()