Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,8 +127,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidan
|
|
| 127 |
height=height,
|
| 128 |
num_inference_steps=num_inference_steps,
|
| 129 |
generator=generator,
|
| 130 |
-
|
| 131 |
-
guidance_scale=1.0 # Use a fixed default for distilled guidance
|
| 132 |
).images[0]
|
| 133 |
print("Image Generation Completed for: ", prompt, lora_id)
|
| 134 |
return image, seed
|
|
|
|
| 127 |
height=height,
|
| 128 |
num_inference_steps=num_inference_steps,
|
| 129 |
generator=generator,
|
| 130 |
+
guidance_scale=guidance_scale
|
|
|
|
| 131 |
).images[0]
|
| 132 |
print("Image Generation Completed for: ", prompt, lora_id)
|
| 133 |
return image, seed
|