SarowarSaurav commited on
Commit
15ec592
·
verified ·
1 Parent(s): 9494426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  # Use a pipeline as a high-level helper
5
 
6
- pipe = pipeline("question-answering", model="Intel/dynamic_tinybert")
7
 
8
  # Define the function to answer questions
9
  def get_answer(text):
 
3
 
4
  # Use a pipeline as a high-level helper
5
 
6
+ pipe = pipeline("question-answering", model='distilbert-base-uncased-distilled-squad')
7
 
8
  # Define the function to answer questions
9
  def get_answer(text):