Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|