sundea commited on
Commit
ea7d676
·
1 Parent(s): 8f5cade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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}