Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|