Dane Summers
aider: Load a fastai learner from `export.pkl` in `app.py`.
27e2a2c
raw
history blame
213 Bytes
import gradio as gr
from fastai.learner import load_learner
learner = load_learner('export.pkl')
def greet():
return "Hello, World!"
iface = gr.Interface(fn=greet, inputs=[], outputs="text")
iface.launch()