JoPmt commited on
Commit
1b46777
·
verified ·
1 Parent(s): 1abec94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -1,9 +1,13 @@
1
  import gradio as gr
2
 
 
 
 
3
 
4
- imagemask=gr.ImageMask()
 
5
  bush=gr.Image()
6
 
7
- iface=gr.Interface(None,inputs=[imagemask],outputs=[bush],live="true")
8
 
9
  iface.launch()
 
1
  import gradio as gr
2
 
3
+ def plex(sketchpad):
4
+ sketchpad=sketchpad
5
+ return sketchpad
6
 
7
+
8
+ sketchpad=gr.Sketchpad()
9
  bush=gr.Image()
10
 
11
+ iface=gr.Interface(plex,inputs=[imagemask],outputs=[bush],live="true")
12
 
13
  iface.launch()