sergon19 commited on
Commit
43d3c1a
Β·
verified Β·
1 Parent(s): 59552d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("cuda")
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]