Spaces:
Paused
Paused
Update app_quant_latent.py
Browse files- app_quant_latent.py +1 -0
app_quant_latent.py
CHANGED
|
@@ -311,6 +311,7 @@ def generate_image(prompt, height, width, steps, seed, guidance_scale=0.0):
|
|
| 311 |
|
| 312 |
# placeholder image if all fails
|
| 313 |
placeholder = Image.new("RGB", (width, height), color=(255, 255, 255))
|
|
|
|
| 314 |
|
| 315 |
try:
|
| 316 |
generator = torch.Generator(device).manual_seed(int(seed))
|
|
|
|
| 311 |
|
| 312 |
# placeholder image if all fails
|
| 313 |
placeholder = Image.new("RGB", (width, height), color=(255, 255, 255))
|
| 314 |
+
print(prompt)
|
| 315 |
|
| 316 |
try:
|
| 317 |
generator = torch.Generator(device).manual_seed(int(seed))
|