| import gradio as gr | |
| from fastai.vision.all import * | |
| learn = load_learner('model.pkl') | |
| labels = learn.dls.vocab | |
| def greet(name): | |
| return "HEllo " + name + "!!!!!!!!! :)" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |
| import gradio as gr | |
| from fastai.vision.all import * | |
| learn = load_learner('model.pkl') | |
| labels = learn.dls.vocab | |
| def greet(name): | |
| return "HEllo " + name + "!!!!!!!!! :)" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() | |