Spaces:
Runtime error
Runtime error
lzyhha commited on
Commit ·
eb65f3f
1
Parent(s): ca151ec
test
Browse files312 unmodified lines313314315316317318312 unmodified linesdef generate_image(*inputs):images = []if grid_h.value + 1 != model.grid_h or grid_w != model.grid_w:raise gr.Error('Please wait for the loading to complete.')for i in range(model.grid_h):images.append([])312 unmodified lines313314315316317318319312 unmodified linesdef generate_image(*inputs):images = []if grid_h.value + 1 != model.grid_h or grid_w != model.grid_w:print(grid_h, grid_w, model.grid_h, model.grid_w)raise gr.Error('Please wait for the loading to complete.')for i in range(model.grid_h):images.append([])
app.py+1