John Smith commited on
Commit
1b40db1
·
1 Parent(s): bee7ce8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
-
6
- iface = gr.Sketchpad()
7
- iface.launch()
 
1
  import gradio as gr
2
 
3
+ gr.Interface(fn=predict,
4
+ inputs="sketchpad",
5
+ outputs="label",
6
+ live=True).launch()