Spaces:
Running
Running
Update app_lora.py
Browse files- app_lora.py +2 -2
app_lora.py
CHANGED
|
@@ -687,7 +687,7 @@ def generate_image_all_latents(prompt, height, width, steps, seed, guidance_scal
|
|
| 687 |
yield placeholder, latent_gallery, LOGS
|
| 688 |
|
| 689 |
@spaces.GPU
|
| 690 |
-
def generate_image(prompt, height, width, steps, seed, guidance_scale=7.5):
|
| 691 |
"""
|
| 692 |
Generate image using ZImagePipeline with optional LoRA adapter.
|
| 693 |
Shows step previews and final image.
|
|
@@ -754,7 +754,7 @@ def generate_image(prompt, height, width, steps, seed, guidance_scale=7.5):
|
|
| 754 |
yield placeholder, latent_gallery, LOGS
|
| 755 |
|
| 756 |
|
| 757 |
-
def
|
| 758 |
LOGS = []
|
| 759 |
device = "cuda"
|
| 760 |
cpu_device = "cpu"
|
|
|
|
| 687 |
yield placeholder, latent_gallery, LOGS
|
| 688 |
|
| 689 |
@spaces.GPU
|
| 690 |
+
def generate_image--(prompt, height, width, steps, seed, guidance_scale=7.5):
|
| 691 |
"""
|
| 692 |
Generate image using ZImagePipeline with optional LoRA adapter.
|
| 693 |
Shows step previews and final image.
|
|
|
|
| 754 |
yield placeholder, latent_gallery, LOGS
|
| 755 |
|
| 756 |
|
| 757 |
+
def generate_image(prompt, height, width, steps, seed, guidance_scale=0.0):
|
| 758 |
LOGS = []
|
| 759 |
device = "cuda"
|
| 760 |
cpu_device = "cpu"
|