Spaces:
Running
on
Zero
Running
on
Zero
enable zerogpu
Browse files
app.py
CHANGED
@@ -327,7 +327,7 @@ def get_ref_anno(ref):
|
|
327 |
image
|
328 |
):
|
329 |
print("ready to run autoencoder")
|
330 |
-
print(f"image.device: {image.device}, type(image): {type(image)}")
|
331 |
latent = opts.latent_scaling_factor * autoencoder.encode(image[None, ...]).sample()
|
332 |
return image[None, ...], latent
|
333 |
|
|
|
327 |
image
|
328 |
):
|
329 |
print("ready to run autoencoder")
|
330 |
+
# print(f"image.device: {image.device}, type(image): {type(image)}")
|
331 |
latent = opts.latent_scaling_factor * autoencoder.encode(image[None, ...]).sample()
|
332 |
return image[None, ...], latent
|
333 |
|