multimodalart HF staff commited on
Commit
6a62a65
1 Parent(s): 60f808f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -101,7 +101,7 @@ def generate(
101
  callback=callback_prior,
102
  callback_steps=callback_steps
103
  )
104
-
105
  if PREVIEW_IMAGES:
106
  for _ in range(len(DEFAULT_STAGE_C_TIMESTEPS)):
107
  r = next(prior_output)
@@ -119,7 +119,7 @@ def generate(
119
  generator=generator,
120
  output_type="pil",
121
  ).images
122
-
123
  #Save images
124
  for image in decoder_output:
125
  user_history.save_image(
@@ -137,7 +137,7 @@ def generate(
137
  "num_images_per_prompt": num_images_per_prompt,
138
  },
139
  )
140
-
141
  yield decoder_output[0]
142
 
143
 
 
101
  callback=callback_prior,
102
  callback_steps=callback_steps
103
  )
104
+ print(prior_output)
105
  if PREVIEW_IMAGES:
106
  for _ in range(len(DEFAULT_STAGE_C_TIMESTEPS)):
107
  r = next(prior_output)
 
119
  generator=generator,
120
  output_type="pil",
121
  ).images
122
+ print(decoder_output)
123
  #Save images
124
  for image in decoder_output:
125
  user_history.save_image(
 
137
  "num_images_per_prompt": num_images_per_prompt,
138
  },
139
  )
140
+
141
  yield decoder_output[0]
142
 
143