Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import gradio as gr
|
3 |
from model_utils import load_models, extract_information, predict_tags, extract_4w_qa, generate_why_or_how_question_and_answer
|
4 |
|
5 |
-
|
6 |
|
7 |
def extract_and_display_info(user_input):
|
8 |
if user_input:
|
|
|
2 |
import gradio as gr
|
3 |
from model_utils import load_models, extract_information, predict_tags, extract_4w_qa, generate_why_or_how_question_and_answer
|
4 |
|
5 |
+
bilstm_model, ner_tokenizer, id2label_ner = load_models()
|
6 |
|
7 |
def extract_and_display_info(user_input):
|
8 |
if user_input:
|