apruvd commited on
Commit
6b1e6f7
1 Parent(s): eb5d22a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +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
- 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)
 
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)