Spaces:
Runtime error
Runtime error
Commit
·
868feef
1
Parent(s):
66f6cc4
Minor changes
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from nltk.corpus import stopwords
|
3 |
|
|
|
|
|
4 |
def analyze(text):
|
5 |
text = stopwords.words("english")[0]
|
6 |
return text
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
from nltk.corpus import stopwords
|
4 |
|
5 |
+
os.system("cp -r ./nltk_data/ /home/user/nltk_data")
|
6 |
+
|
7 |
def analyze(text):
|
8 |
text = stopwords.words("english")[0]
|
9 |
return text
|