Spaces:
Build error
Build error
fix: Typo in preprocessing function call
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ if go_btn and tw_user != '':
|
|
172 |
tweets_objs += tweets_response.data
|
173 |
tweets_txt = [tweet.text for tweet in tweets_objs]
|
174 |
tweets_txt = list(set(tweets_txt))
|
175 |
-
tweets_txt =
|
176 |
# plot = generate_plot(df, text_column, label_column, sample, dimensionality_reduction_function, model)
|
177 |
plot = generate_plot(tweets_txt, model, tw_user)
|
178 |
st.bokeh_chart(plot)
|
|
|
172 |
tweets_objs += tweets_response.data
|
173 |
tweets_txt = [tweet.text for tweet in tweets_objs]
|
174 |
tweets_txt = list(set(tweets_txt))
|
175 |
+
tweets_txt = preprocess(tweets_txt)
|
176 |
# plot = generate_plot(df, text_column, label_column, sample, dimensionality_reduction_function, model)
|
177 |
plot = generate_plot(tweets_txt, model, tw_user)
|
178 |
st.bokeh_chart(plot)
|