Commit
·
6a26ae8
1
Parent(s):
c7896b1
Update app.py
Browse files
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
|
179 |
return text_clf
|
180 |
|
181 |
@st.cache(allow_output_mutation=True)
|
182 |
def fit_cluster_clf(X):
|
183 |
-
cluster_clf
|
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 |
|