Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ pipe = DiffusionPipeline.from_pretrained(
|
|
14 |
use_safetensors=True
|
15 |
)
|
16 |
pipe.load_lora_weights("sergon19/green_bg_LoRa10")
|
17 |
-
_ = pipe.to("
|
18 |
|
19 |
def generate_image(prompt):
|
20 |
image = pipe(prompt=prompt, num_inference_steps=25).images[0]
|
|
|
14 |
use_safetensors=True
|
15 |
)
|
16 |
pipe.load_lora_weights("sergon19/green_bg_LoRa10")
|
17 |
+
_ = pipe.to("cpu")
|
18 |
|
19 |
def generate_image(prompt):
|
20 |
image = pipe(prompt=prompt, num_inference_steps=25).images[0]
|