Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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')
|