lzyhha commited on
Commit
eb65f3f
·
1 Parent(s): ca151ec
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -313,6 +313,7 @@ def create_demo(model):
313
  def generate_image(*inputs):
314
  images = []
315
  if grid_h.value + 1 != model.grid_h or grid_w != model.grid_w:
 
316
  raise gr.Error('Please wait for the loading to complete.')
317
  for i in range(model.grid_h):
318
  images.append([])
 
313
  def generate_image(*inputs):
314
  images = []
315
  if grid_h.value + 1 != model.grid_h or grid_w != model.grid_w:
316
+ print(grid_h, grid_w, model.grid_h, model.grid_w)
317
  raise gr.Error('Please wait for the loading to complete.')
318
  for i in range(model.grid_h):
319
  images.append([])