ford442 commited on
Commit
b507387
·
1 Parent(s): d1d41ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def load_and_prepare_model(model_id):
100
  add_watermarker=False,
101
  )
102
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
103
- pipe.to.('cuda')
104
  if USE_TORCH_COMPILE:
105
  pipe.compile()
106
 
 
100
  add_watermarker=False,
101
  )
102
  pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
103
+ pipe.to('cuda')
104
  if USE_TORCH_COMPILE:
105
  pipe.compile()
106