amazonaws-la commited on
Commit
1bbb498
1 Parent(s): 1e95d75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def generate(
55
  lora = 'amazonaws-la/juliette',
56
  ) -> PIL.Image.Image:
57
  if torch.cuda.is_available():
58
- pipe = DiffusionPipeline.from_pretrained(model, torch_dtype=torch.float16, safety_checker=None)
59
 
60
  if use_lora:
61
  pipe.load_lora_weights(lora)
 
55
  lora = 'amazonaws-la/juliette',
56
  ) -> PIL.Image.Image:
57
  if torch.cuda.is_available():
58
+ pipe = DiffusionPipeline.from_pretrained(model, torch_dtype=torch.float16)
59
 
60
  if use_lora:
61
  pipe.load_lora_weights(lora)