File size: 312 Bytes
62408dc
 
dc5f85e
62408dc
 
1
2
3
4
5
import gradio as gr

examples = [["answer: Marcos context: Between all his siblings, Marcos is the most scared of ghosts"], ["answer: 19 context: Esteban is 19 years old"]]

gr.Interface.load("huggingface/mrm8488/t5-base-finetuned-question-generation-ap", title="Question to Answer" ,examples=examples).launch();