Spaces:
Runtime error
Runtime error
moose Claude Opus 4.7 (1M context) commited on
Commit ·
ad7b834
1
Parent(s): 09cc589
Remove temporary dimension-flow debug prints
Browse filesReverts the debug instrumentation from 7a46cb6 now that the
output aspect ratio fix is confirmed working.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
app.py
CHANGED
|
@@ -222,7 +222,6 @@ def infer(
|
|
| 222 |
print(f"Calling pipeline with prompt: '{prompt}'")
|
| 223 |
print(f"Negative Prompt: '{negative_prompt}'")
|
| 224 |
print(f"Seed: {seed}, Steps: {num_inference_steps}, Guidance: {true_guidance_scale}, Size: {width}x{height}")
|
| 225 |
-
print(f"[debug] pil_images sizes: {[img.size for img in pil_images]} height={height!r} width={width!r}")
|
| 226 |
|
| 227 |
# Generate the image
|
| 228 |
images_pil = pipe(
|
|
@@ -236,7 +235,6 @@ def infer(
|
|
| 236 |
true_cfg_scale=true_guidance_scale,
|
| 237 |
num_images_per_prompt=num_images_per_prompt,
|
| 238 |
).images
|
| 239 |
-
print(f"[debug] output sizes: {[img.size for img in images_pil]}")
|
| 240 |
|
| 241 |
# Anonymous diagnostics — fire-and-forget, must not block or fail generation.
|
| 242 |
try:
|
|
|
|
| 222 |
print(f"Calling pipeline with prompt: '{prompt}'")
|
| 223 |
print(f"Negative Prompt: '{negative_prompt}'")
|
| 224 |
print(f"Seed: {seed}, Steps: {num_inference_steps}, Guidance: {true_guidance_scale}, Size: {width}x{height}")
|
|
|
|
| 225 |
|
| 226 |
# Generate the image
|
| 227 |
images_pil = pipe(
|
|
|
|
| 235 |
true_cfg_scale=true_guidance_scale,
|
| 236 |
num_images_per_prompt=num_images_per_prompt,
|
| 237 |
).images
|
|
|
|
| 238 |
|
| 239 |
# Anonymous diagnostics — fire-and-forget, must not block or fail generation.
|
| 240 |
try:
|