change webui.bat to use venv

This commit is contained in:
AUTOMATIC
2022-09-02 19:26:18 +03:00
parent 2000830342
commit efa0a6483c
4 changed files with 46 additions and 7 deletions

View File

@@ -633,9 +633,9 @@ def draw_xy_grid(xs, ys, x_label, y_label, cell):
for y in ys:
for x in xs:
state.job = f"{x + y * len(xs)} out of {len(xs) * len(ys)}"
res.append(cell(x, y))
grid = image_grid(res, rows=len(ys))
grid = draw_grid_annotations(grid, res[0].width, res[0].height, hor_texts, ver_texts)