Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
|
|
54 |
)
|
55 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
56 |
|
57 |
-
pipe.to(
|
58 |
|
59 |
def start_session(req: gr.Request):
|
60 |
user_dir = os.path.join(TMP_DIR, str(req.session_hash))
|
|
|
54 |
)
|
55 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
56 |
|
57 |
+
pipe.to('cuda')
|
58 |
|
59 |
def start_session(req: gr.Request):
|
60 |
user_dir = os.path.join(TMP_DIR, str(req.session_hash))
|