Spaces:
Build error
Build error
Добавлена гистограма.
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ if not text is None and len(text) > 0:
|
|
81 |
|
82 |
# Топ 5 слов.
|
83 |
top = 5
|
84 |
-
top = min(len(labels, top)
|
85 |
st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
|
86 |
|
87 |
# График важности слов.
|
|
|
81 |
|
82 |
# Топ 5 слов.
|
83 |
top = 5
|
84 |
+
top = min(len(labels), top)
|
85 |
st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
|
86 |
|
87 |
# График важности слов.
|