tokeron commited on
Commit
aea34a7
1 Parent(s): 42f377d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def generate_images(prompt):
10
  all_images = [] # Initialize a list to store all images
11
  for skip_layers in range(12, -1, -1):
12
  images = get_images(prompt, skip_layers=skip_layers)
13
- all_images.append((images[0], f'layer_{12 - skip_layers}')) # Add the new image to the list
14
  yield all_images # Yield the list of all images
15
 
16
  with gr.Blocks() as demo:
 
10
  all_images = [] # Initialize a list to store all images
11
  for skip_layers in range(12, -1, -1):
12
  images = get_images(prompt, skip_layers=skip_layers)
13
+ all_images.append(images[0]) # (images[0], f'layer_{12 - skip_layers}')) # Add the new image to the list
14
  yield all_images # Yield the list of all images
15
 
16
  with gr.Blocks() as demo: