Spaces:
Running
on
Zero
Running
on
Zero
lzyhha
commited on
Commit
·
7c1bf30
1
Parent(s):
eb65f3f
test
Browse files
app.py
CHANGED
@@ -313,7 +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 |
-
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([])
|
|
|
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.value, grid_w.value, 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([])
|