User1342 commited on
Commit
40302e7
1 Parent(s): b5ade34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  import gradio as gr
2
  import predictor
3
 
 
 
 
4
  def check_string(string_to_predict):
5
  try:
6
  is_extremist = predictor.predictor().predict(string_to_predict)
 
1
  import gradio as gr
2
  import predictor
3
 
4
+ import nltk
5
+ >>> nltk.download('averaged_perceptron_tagger')
6
+
7
  def check_string(string_to_predict):
8
  try:
9
  is_extremist = predictor.predictor().predict(string_to_predict)