From db031031f066dcda9312bbdce20cc4322fe3042f Mon Sep 17 00:00:00 2001 From: Lilianne Nakazono Date: Thu, 20 Oct 2022 15:06:18 +0200 Subject: [PATCH] fixed bug --- arxivfyme.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arxivfyme.py b/arxivfyme.py index 2f1ddad..6604d79 100644 --- a/arxivfyme.py +++ b/arxivfyme.py @@ -31,7 +31,6 @@ df_pandas["tokens"] = tokens df_pandas['tokens_str'] = df_pandas['tokens'].apply(lambda x: ','.join(map(str, x))) text = " ".join(summ for summ in df_pandas.tokens_str.astype(str)) -show_wordcloud(text) -fig = show_wordcloud(st.slider('max_words', 5, 500, 200, step = 10)) +fig = show_wordcloud(text, st.slider('max_words', 5, 500, 200, step = 10)) st.pyplot(fig) \ No newline at end of file