Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ import pandas as pd
|
|
30 |
import numpy as np
|
31 |
from allennlp.predictors.predictor import Predictor
|
32 |
import allennlp_models.tagging
|
33 |
-
predictor = Predictor.from_path("structured-prediction-srl-bert")
|
34 |
|
35 |
#---------------------------------------------------------------
|
36 |
def claim(text):
|
|
|
30 |
import numpy as np
|
31 |
from allennlp.predictors.predictor import Predictor
|
32 |
import allennlp_models.tagging
|
33 |
+
predictor = Predictor.from_path("structured-prediction-srl-bert.tar.gz")
|
34 |
|
35 |
#---------------------------------------------------------------
|
36 |
def claim(text):
|