kfahn commited on
Commit
e3a307f
1 Parent(s): 93eaa44

Update app.py

Browse files

try to add ability to edit image

Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -114,14 +114,10 @@ title="Image to Coloring Page Generator"
114
  #]
115
 
116
  image = gr.Image(
117
- source="canvas",
118
- tool="sketch",
119
- type="pil",
120
- image_mode="L",
121
- invert_colors=True,
122
- shape=(1024, 1024),
123
  brush_radius=4,
124
- height=440,
125
  )
126
 
127
  iface = gr.Interface(predict,
 
114
  #]
115
 
116
  image = gr.Image(
117
+ source="upload",
118
+ tool="color-sketch",
119
+ interactive="true"
 
 
 
120
  brush_radius=4,
 
121
  )
122
 
123
  iface = gr.Interface(predict,