mocktestgen commited on
Commit
d2fa8cd
·
verified ·
1 Parent(s): 86afc70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
- question_gen = pipeline("text2text-generation", model="google/pegasus-xsum")
4
 
5
  def generate_questions(input_text, num_questions, question_type):
6
  highlighted_text = input_text
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ question_gen = pipeline("text2text-generation", model="valhalla/t5-base-qg-hl")
4
 
5
  def generate_questions(input_text, num_questions, question_type):
6
  highlighted_text = input_text