Spaces:
Runtime error
Runtime error
stanley
commited on
Commit
·
4eebef6
1
Parent(s):
0ff3fbd
sytax bug
Browse files- index.html +2 -2
- js/toolbar.js +2 -2
index.html
CHANGED
@@ -720,10 +720,10 @@ async def draw_canvas() -> None:
|
|
720 |
|
721 |
|
722 |
|
723 |
-
|
724 |
|
|
|
725 |
|
726 |
-
# new draw_canvas scale method
|
727 |
async def draw_canvas_func(event):
|
728 |
alert("draw_canvas gradio called")
|
729 |
|
|
|
720 |
|
721 |
|
722 |
|
723 |
+
# new draw_canvas scale method
|
724 |
|
725 |
+
from PIL import ImageOps
|
726 |
|
|
|
727 |
async def draw_canvas_func(event):
|
728 |
alert("draw_canvas gradio called")
|
729 |
|
js/toolbar.js
CHANGED
@@ -219,8 +219,8 @@ function getBase64(file) {
|
|
219 |
{ type: "button", id: "random_seed", tooltip: "Set a random seed", icon: "fa-solid fa-dice" },
|
220 |
]
|
221 |
},
|
222 |
-
{ type: "button", id: "zoom_in",
|
223 |
-
{ type: "button", id: "zoom_out",
|
224 |
|
225 |
{ type: 'spacer' },
|
226 |
{ type: "button", id: "outpaint", text: "GROW", icon: "fa-solid fa-wand-magic-sparkles" },
|
|
|
219 |
{ type: "button", id: "random_seed", tooltip: "Set a random seed", icon: "fa-solid fa-dice" },
|
220 |
]
|
221 |
},
|
222 |
+
{ type: "button", id: "zoom_in", icon: "fa-solid fa-magnifying-glass-plus" },
|
223 |
+
{ type: "button", id: "zoom_out", icon: "fa-solid fa-magnifying-glass-minus" },
|
224 |
|
225 |
{ type: 'spacer' },
|
226 |
{ type: "button", id: "outpaint", text: "GROW", icon: "fa-solid fa-wand-magic-sparkles" },
|