production-lesson-2 / _orig_app.py
dgwyer's picture
add model file and new gradio code
0b637a9
raw
history blame contribute delete
193 Bytes
import fastai.vision.all import *
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch(share=True)