Sa-m commited on
Commit
c27c36d
1 Parent(s): a6a7c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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):