Spaces:
Running
on
Zero
Running
on
Zero
Update raw.py
Browse files
raw.py
CHANGED
@@ -63,7 +63,7 @@ except:
|
|
63 |
# save to the Hub
|
64 |
# pipe.push_to_hub("FLUX.1M-8step_upscaler-cnet")
|
65 |
|
66 |
-
@spaces.GPU
|
67 |
def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_scale, guidance_scale, seed, guidance_end):
|
68 |
generator = torch.Generator().manual_seed(seed)
|
69 |
|
|
|
63 |
# save to the Hub
|
64 |
# pipe.push_to_hub("FLUX.1M-8step_upscaler-cnet")
|
65 |
|
66 |
+
@spaces.GPU()
|
67 |
def generate_image(prompt, scale, steps, control_image, controlnet_conditioning_scale, guidance_scale, seed, guidance_end):
|
68 |
generator = torch.Generator().manual_seed(seed)
|
69 |
|