Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,13 +40,13 @@ def resize_img(img1,img2):
|
|
40 |
img_to_resize.save('resized_img2.png')
|
41 |
|
42 |
|
43 |
-
sketch1 = gr.Image(image_mode="
|
44 |
source="canvas",
|
45 |
type="filepath",
|
46 |
shape=None,
|
47 |
invert_colors=False)
|
48 |
|
49 |
-
sketch2 = gr.Image(image_mode="
|
50 |
source="canvas",
|
51 |
type="filepath",
|
52 |
shape=None,
|
|
|
40 |
img_to_resize.save('resized_img2.png')
|
41 |
|
42 |
|
43 |
+
sketch1 = gr.Image(image_mode="RGB",
|
44 |
source="canvas",
|
45 |
type="filepath",
|
46 |
shape=None,
|
47 |
invert_colors=False)
|
48 |
|
49 |
+
sketch2 = gr.Image(image_mode="RGB",
|
50 |
source="canvas",
|
51 |
type="filepath",
|
52 |
shape=None,
|