FahadAlam's picture
Create new file
3ff1f64
raw
history blame
312 Bytes
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();