hfai-aam commited on
Commit
058422e
·
verified ·
1 Parent(s): caf78e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from diffusers import AutoPipelineForText2Image, EulerDiscreteScheduler
5
  import torch
6
 
7
  if torch.cuda.is_available():
8
- pipe = AutoPipelineForText2Image.from_pretrained('RunDiffusion/Juggernaut-X-v10', torch_dtype=torch.float16, variant="fp16")
9
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
10
  pipe = pipe.to("cuda")
11
  pipe.safety_checker=None
 
5
  import torch
6
 
7
  if torch.cuda.is_available():
8
+ pipe = AutoPipelineForText2Image.from_pretrained('RunDiffusion/Juggernaut-X-v10')
9
  pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
10
  pipe = pipe.to("cuda")
11
  pipe.safety_checker=None