Hellisotherpeople commited on
Commit
6a26ae8
1 Parent(s): c7896b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -175,12 +175,12 @@ if task == "Clustering":
175
 
176
  @st.cache(allow_output_mutation=True)
177
  def fit_text_clf(X, y):
178
- text_clf = text_clf.fit(X, y)
179
  return text_clf
180
 
181
  @st.cache(allow_output_mutation=True)
182
  def fit_cluster_clf(X):
183
- cluster_clf = cluster_clf.fit(X)
184
  return cluster_clf
185
 
186
 
 
175
 
176
  @st.cache(allow_output_mutation=True)
177
  def fit_text_clf(X, y):
178
+ text_clf.fit(X, y)
179
  return text_clf
180
 
181
  @st.cache(allow_output_mutation=True)
182
  def fit_cluster_clf(X):
183
+ cluster_clf.fit(X)
184
  return cluster_clf
185
 
186