darkstorm2150 commited on
Commit
f02577d
1 Parent(s): 90f9f38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def get_model(name):
45
  model = MODELS[name]
46
 
47
  if model.pipe_t2i is None:
48
- model.pip_t2i = StableDiffusionPipeline.from_pretrained(
49
  model.path, torch_dtype=torch.float16, safety_checker=SAFETY_CHECKER
50
  )
51
  model.pipe_t2i.scheduler = DPMSolverMultistepScheduler.from_config(
 
45
  model = MODELS[name]
46
 
47
  if model.pipe_t2i is None:
48
+ model.pipe_t2i = StableDiffusionPipeline.from_pretrained(
49
  model.path, torch_dtype=torch.float16, safety_checker=SAFETY_CHECKER
50
  )
51
  model.pipe_t2i.scheduler = DPMSolverMultistepScheduler.from_config(