Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
from textblob import TextBlob
|
2 |
import gradio as gr
|
|
|
|
|
3 |
|
4 |
def get_nouns(text):
|
5 |
blob = TextBlob(text)
|
|
|
1 |
from textblob import TextBlob
|
2 |
import gradio as gr
|
3 |
+
import os
|
4 |
+
os.system("python -m textblob.download_corpora")
|
5 |
|
6 |
def get_nouns(text):
|
7 |
blob = TextBlob(text)
|