Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,6 @@ model = AutoModelForQuestionAnswering.from_pretrained('sundea/Work-QA')
|
|
5 |
tokenizer = AutoTokenizer.from_pretrained('sundea/Work-QA')
|
6 |
QA = pipeline('question-answering', model=model, tokenizer=tokenizer)
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
def get_out(text1,text2):
|
12 |
|
13 |
QA_input={'question':text1,'context':text2}
|
|
|
5 |
tokenizer = AutoTokenizer.from_pretrained('sundea/Work-QA')
|
6 |
QA = pipeline('question-answering', model=model, tokenizer=tokenizer)
|
7 |
|
|
|
|
|
|
|
8 |
def get_out(text1,text2):
|
9 |
|
10 |
QA_input={'question':text1,'context':text2}
|