Commit ·
5e2764c
1
Parent(s): 52f717d
Update app.py
Browse files4 unmodified lines5678910114 unmodified linespipe = StableDiffusionPipeline.from_pretrained( #Downloading the model and naming it "pipe""Lykon/dreamshaper-8", #Name of the model we will downloadtorch_dtype=torch.float16,) #Forces it to download the small version which saves time and computer memorypipe.to("cuda") #Move the model to the GPU because it's faster than the CPU4 unmodified lines5678910114 unmodified linespipe = StableDiffusionPipeline.from_pretrained( #Downloading the model and naming it "pipe""Lykon/dreamshaper-8", #Name of the model we will downloadrequires_safety_checker=False, safety_checker=None) #Disables the safety checkerpipe.to("cuda") #Move the model to the GPU because it's faster than the CPU
app.py+1-1