Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ import re
|
|
39 |
from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator
|
40 |
from textblob import TextBlob
|
41 |
from PIL import Image
|
42 |
-
|
43 |
import gradio as gr
|
44 |
from zipfile import ZipFile
|
45 |
|
@@ -53,7 +53,7 @@ nltk.download('averaged_perceptron_tagger')
|
|
53 |
nltk.download('words')
|
54 |
|
55 |
|
56 |
-
|
57 |
"""## PARSING FILES"""
|
58 |
|
59 |
def Parsing(parsed_text):
|
|
|
39 |
from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator
|
40 |
from textblob import TextBlob
|
41 |
from PIL import Image
|
42 |
+
import os
|
43 |
import gradio as gr
|
44 |
from zipfile import ZipFile
|
45 |
|
|
|
53 |
nltk.download('words')
|
54 |
|
55 |
|
56 |
+
os.system("web: java $JAVA_OPTS -jar tika-server-1.0.6.jar --host=0.0.0.0 --port=$PORT")
|
57 |
"""## PARSING FILES"""
|
58 |
|
59 |
def Parsing(parsed_text):
|