Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -49,8 +49,8 @@ if torch.cuda.is_available():
|
|
49 |
previewer.load_state_dict(previewer_state_dict)
|
50 |
def callback_prior(self_remote, i, t, kwargs):
|
51 |
latents = kwargs["latents"]
|
52 |
-
print(latents)
|
53 |
output = previewer(latents)
|
|
|
54 |
output = numpy_to_pil(output.clamp(0, 1).permute(0, 2, 3, 1).float().cpu().numpy())
|
55 |
return output
|
56 |
callback_steps = 1
|
|
|
49 |
previewer.load_state_dict(previewer_state_dict)
|
50 |
def callback_prior(self_remote, i, t, kwargs):
|
51 |
latents = kwargs["latents"]
|
|
|
52 |
output = previewer(latents)
|
53 |
+
print(output)
|
54 |
output = numpy_to_pil(output.clamp(0, 1).permute(0, 2, 3, 1).float().cpu().numpy())
|
55 |
return output
|
56 |
callback_steps = 1
|