apruvd commited on
Commit
eb5d22a
·
verified ·
1 Parent(s): 2ac2cb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -15,7 +15,9 @@ import PIL
15
  model = whisper.load_model("base")
16
  model.device
17
 
18
- model_id = 'prompthero/midjourney-v4-diffusion' #"stabilityai/stable-diffusion-2"
 
 
19
 
20
  scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
21
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) #pipe = StableDiffusionPipeline.from_pretrained(model_id , torch_dtype=torch.float16 #pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, revision="fp16", torch_dtype=torch.float16)
 
15
  model = whisper.load_model("base")
16
  model.device
17
 
18
+ # model_id = 'prompthero/midjourney-v4-diffusion' #"stabilityai/stable-diffusion-2"
19
+
20
+ model_id = "TaiMingLu/diffusion-architecture"
21
 
22
  scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
23
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) #pipe = StableDiffusionPipeline.from_pretrained(model_id , torch_dtype=torch.float16 #pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, revision="fp16", torch_dtype=torch.float16)