Spaces:
Build error
Build error
Добавлена гистограма.
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ if not text is None and len(text) > 0:
|
|
85 |
st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
|
86 |
|
87 |
# График важности слов.
|
88 |
-
fig, ax = plt.subplots(figsize=(8,
|
89 |
ax.set_title("95% самых важных ключевых слов")
|
90 |
ax.grid(color='#000000', alpha=0.15, linestyle='-', linewidth=1, which='major')
|
91 |
ax.grid(color='#000000', alpha=0.1, linestyle='-', linewidth=0.5, which='minor')
|
|
|
85 |
st.markdown("Топ %d ключевых слов: **%s**" % (top, ', '.join(labels[0:5])))
|
86 |
|
87 |
# График важности слов.
|
88 |
+
fig, ax = plt.subplots(figsize=(8, len(labels)))
|
89 |
ax.set_title("95% самых важных ключевых слов")
|
90 |
ax.grid(color='#000000', alpha=0.15, linestyle='-', linewidth=1, which='major')
|
91 |
ax.grid(color='#000000', alpha=0.1, linestyle='-', linewidth=0.5, which='minor')
|