prat1003 commited on
Commit
8c39403
·
verified ·
1 Parent(s): 719feee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import tempfile
7
  import os
8
 
9
  # Load question generation model
10
- qg_pipeline = pipeline("text2text-generation", model="valhalla/t5-small-qg-prepend")
11
 
12
  # OCR function
13
  def extract_text_from_scanned_pdf(file_path):
 
7
  import os
8
 
9
  # Load question generation model
10
+ qg_pipeline = pipeline("text2text-generation", model="iarfmoose/t5-base-question-generator")
11
 
12
  # OCR function
13
  def extract_text_from_scanned_pdf(file_path):