SmallO commited on
Commit
91b6a8d
·
1 Parent(s): b67290d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ import streamlit as st
20
  def pic_mo(prom):
21
  model_id = "runwayml/stable-diffusion-v1-5"
22
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
23
- pipe = pipe.to("cuda")
24
 
25
  prompt = str(prom)
26
 
 
20
  def pic_mo(prom):
21
  model_id = "runwayml/stable-diffusion-v1-5"
22
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
23
+ pipe = pipe.to("cpu")
24
 
25
  prompt = str(prom)
26