ca50cda
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr from fastai.vision.all import * def greet(name): return "Hello " + name + "!!" def is_cat(x): return x[0].isupper() im=PILI iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()