barghavani commited on
Commit
d92f5f4
·
verified ·
1 Parent(s): 80a01f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
6
  import gradio as gr
7
 
8
 
9
- question_answerer = pipeline(task="question-answering", model="deepset/tinyroberta-squad2")
10
 
11
 
12
  def get_text_from_pdf(pdf_file: Union[str, Path]) -> str:
 
6
  import gradio as gr
7
 
8
 
9
+ question_answerer = pipeline("question-answering", model="deepset/roberta-base-squad2")
10
 
11
 
12
  def get_text_from_pdf(pdf_file: Union[str, Path]) -> str: