Spaces:
Runtime error
Runtime error
Update app.py
Browse filestry to add ability to edit image
app.py
CHANGED
@@ -114,14 +114,10 @@ title="Image to Coloring Page Generator"
|
|
114 |
#]
|
115 |
|
116 |
image = gr.Image(
|
117 |
-
source="
|
118 |
-
tool="sketch",
|
119 |
-
|
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,
|