Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -249,8 +249,8 @@ def process_and_summarize(df, bert_tokenizer, bert_model, emotion_classifier, to
|
|
249 |
|
250 |
# Create vectorizer with stop words
|
251 |
vectorizer = CountVectorizer(stop_words=list(ARABIC_STOP_WORDS),
|
252 |
-
min_df=
|
253 |
-
max_df=0
|
254 |
topic_model.vectorizer_model = vectorizer
|
255 |
|
256 |
for country, group in df.groupby('country'):
|
|
|
249 |
|
250 |
# Create vectorizer with stop words
|
251 |
vectorizer = CountVectorizer(stop_words=list(ARABIC_STOP_WORDS),
|
252 |
+
min_df=1,
|
253 |
+
max_df=1.0)
|
254 |
topic_model.vectorizer_model = vectorizer
|
255 |
|
256 |
for country, group in df.groupby('country'):
|