Madhana commited on
Commit
9452690
·
1 Parent(s): 0397bfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -8,6 +8,9 @@ Original file is located at
8
  """
9
 
10
  from transformers import pipeline
 
 
 
11
 
12
  model_checkpoint = "Madhana/distilroberta-base-finetuned-wikitext2-SQuAD-qa-WandB2"
13
  new_model = AutoModelForQuestionAnswering.from_pretrained(model_checkpoint)
 
8
  """
9
 
10
  from transformers import pipeline
11
+ from transformers import AutoModelForQuestionAnswering
12
+ from transformers import AutoTokenizer
13
+
14
 
15
  model_checkpoint = "Madhana/distilroberta-base-finetuned-wikitext2-SQuAD-qa-WandB2"
16
  new_model = AutoModelForQuestionAnswering.from_pretrained(model_checkpoint)