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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -53,15 +53,11 @@ nltk.download('averaged_perceptron_tagger')
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):
60
  parsed_text=parsed_text.name
61
  raw_party =parser.from_file(parsed_text)
62
- # parser.parse1(option='all',urlOrPath=parsed_text)
63
- # from_buffer(parsed_text)
64
- # from_file(parsed_text)
65
  raw_party = raw_party['content']
66
  return clean(raw_party)
67
 
 
53
  nltk.download('words')
54
 
55
 
 
56
  """## PARSING FILES"""
57
 
58
  def Parsing(parsed_text):
59
  parsed_text=parsed_text.name
60
  raw_party =parser.from_file(parsed_text)
 
 
 
61
  raw_party = raw_party['content']
62
  return clean(raw_party)
63