Spaces:
Sleeping
Sleeping
import gradio as gr | |
from transformers import pipeline | |
# Load your model | |
model = pipeline("question-answering", model="DevBM/t5-large-squad") | |
# Launch the Gradio interface with examples | |
# gr.Interface(fn=predict, inputs=inputs, outputs=outputs, examples=examples).launch() | |
gr.launch() |