Spaces:
Runtime error
Runtime error
lzyhha commited on
Commit ·
ca151ec
1
Parent(s): ac469eb
test
Browse files311 unmodified lines312313314315315316317318311 unmodified lines
def generate_image(*inputs): images = [] if grid_h + 1 != model.grid_h or grid_w != model.grid_w: 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([])app.py+1-1