EnzoBustos commited on
Commit
fa1c81d
1 Parent(s): 7b53a4e

Changes in image path

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -184,6 +184,7 @@ with analysis:
184
  ))
185
 
186
  with analysis_2:
187
- image = Image.open('Images/{}.png'.format(wordcloud))
 
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