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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ MODELS = {m.name: m for m in models}
42
  device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
43
 
44
  def get_model(name):
45
- moel = MODELS[name]
46
 
47
  if model.pipe_t2i is None:
48
  model.pip_t2i = StableDiffusionPipeline.from_pretrained(
 
42
  device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
43
 
44
  def get_model(name):
45
+ model = MODELS[name]
46
 
47
  if model.pipe_t2i is None:
48
  model.pip_t2i = StableDiffusionPipeline.from_pretrained(