lakshmikarpolam commited on
Commit
d4bf7ca
1 Parent(s): 5b4f0ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def generate_and_display_image(prompt):
15
 
16
  # Set the loaded scheduler in the pipeline
17
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
18
- # pipeline.to("cuda")
19
 
20
  # Set the number of inference steps
21
  inference_steps = 4
 
15
 
16
  # Set the loaded scheduler in the pipeline
17
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
18
+ pipeline.to("cuda")
19
 
20
  # Set the number of inference steps
21
  inference_steps = 4