stanley commited on
Commit
4eebef6
·
1 Parent(s): 0ff3fbd
Files changed (2) hide show
  1. index.html +2 -2
  2. js/toolbar.js +2 -2
index.html CHANGED
@@ -720,10 +720,10 @@ async def draw_canvas() -> None:
720
 
721
 
722
 
723
- from PIL import ImageOps
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", tooltip: "Zoom In", icon: "fa-solid fa-magnifying-glass-plus" },
223
- { type: "button", id: "zoom_out", tooltip: "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" },
 
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" },