File size: 284 Bytes
f1ae702
c1b9e99
f1ae702
 
c1b9e99
f1ae702
47c9add
 
1
2
3
4
5
6
7
8
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()