Spaces:
Running
on
Zero
Running
on
Zero
Update raw.py
Browse files
raw.py
CHANGED
|
@@ -53,7 +53,7 @@ pipe.fuse_lora(adapter_names=["turbo", "real", "enhance"], lora_scale=1.0)
|
|
| 53 |
pipe.unload_lora_weights()
|
| 54 |
# pipe.enable_xformers_memory_efficient_attention()
|
| 55 |
# save to the Hub
|
| 56 |
-
|
| 57 |
|
| 58 |
@spaces.GPU
|
| 59 |
def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_scale, guidance_scale, seed, guidance_end):
|
|
|
|
| 53 |
pipe.unload_lora_weights()
|
| 54 |
# pipe.enable_xformers_memory_efficient_attention()
|
| 55 |
# save to the Hub
|
| 56 |
+
pipe.push_to_hub("FLUX.1M-8step_upscaler-cnet")
|
| 57 |
|
| 58 |
@spaces.GPU
|
| 59 |
def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_scale, guidance_scale, seed, guidance_end):
|