Spaces:
Runtime error
Runtime error
Commit
·
fa1c81d
1
Parent(s):
7b53a4e
Changes in image path
Browse files
app.py
CHANGED
@@ -184,6 +184,7 @@ with analysis:
|
|
184 |
))
|
185 |
|
186 |
with analysis_2:
|
187 |
-
|
|
|
188 |
st.image(image, caption='WordCloud dos textos classificados como {}'.format(wordcloud))
|
189 |
|
|
|
184 |
))
|
185 |
|
186 |
with analysis_2:
|
187 |
+
image_path = os.path.dirname(os.path.realpath(__file__)) + '/Images/{}.png'.format(wordcloud)
|
188 |
+
image = Image.open(image_path)
|
189 |
st.image(image, caption='WordCloud dos textos classificados como {}'.format(wordcloud))
|
190 |
|