barghavani commited on
Commit
993e5ac
·
verified ·
1 Parent(s): af10605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from getpass import getpass
10
  TOKEN = os.getenv('HUGGING_FACE_HUB_TOKEN')
11
 
12
 
13
- question_answerer =pipeline("text-generation", model="openai-community/gpt2")
14
 
15
 
16
  def get_text_from_pdf(pdf_file: Union[str, Path]) -> str:
 
10
  TOKEN = os.getenv('HUGGING_FACE_HUB_TOKEN')
11
 
12
 
13
+ question_answerer =pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-alpha")
14
 
15
 
16
  def get_text_from_pdf(pdf_file: Union[str, Path]) -> str: