yunuseduran commited on
Commit
c7f4293
·
verified ·
1 Parent(s): 9ef9ad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ from PIL import Image
7
  import matplotlib.pyplot as plt
8
  import streamlit as st
9
  import tempfile
 
 
 
10
 
11
  # NLTK kütüphanesinden gerekli bileşenleri indir
12
  nltk.download('stopwords')
 
7
  import matplotlib.pyplot as plt
8
  import streamlit as st
9
  import tempfile
10
+ import os
11
+ os.environ['NLTK_DATA'] = '/path/to/nltk_data'
12
+ from nltk.corpus import stopwords
13
 
14
  # NLTK kütüphanesinden gerekli bileşenleri indir
15
  nltk.download('stopwords')