Spaces:
Runtime error
Runtime error
lakshmikarpolam
commited on
Commit
•
5b4f0ac
1
Parent(s):
d9e1ab4
Update app.py
Browse files
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
|