mocktestgen commited on
Commit
8c35c56
·
verified ·
1 Parent(s): d7a562e

Update app.py

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