jojortz commited on
Commit
f0279d9
1 Parent(s): 36fe387

add nltk for Unstructured

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -2,6 +2,9 @@ import gradio as gr
2
  from tabs.arena_sxs import arena_sxs
3
  from tabs.leaderboard import leaderboard
4
  import os
 
 
 
5
 
6
  os.system("apt-get update && apt-get install -y poppler-utils tesseract-ocr")
7
 
 
2
  from tabs.arena_sxs import arena_sxs
3
  from tabs.leaderboard import leaderboard
4
  import os
5
+ import nltk
6
+
7
+ nltk.download('averaged_perceptron_tagger')
8
 
9
  os.system("apt-get update && apt-get install -y poppler-utils tesseract-ocr")
10