Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#4
by
JackAILab
- opened
app.py
CHANGED
@@ -51,7 +51,7 @@ pipe.load_ConsistentID_model(
|
|
51 |
trigger_word="img",
|
52 |
)
|
53 |
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
|
54 |
-
|
55 |
|
56 |
# @torch.inference_mode()
|
57 |
# def Enhance_prompt(prompt,select_images):
|
|
|
51 |
trigger_word="img",
|
52 |
)
|
53 |
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config)
|
54 |
+
pipe.cuda()
|
55 |
|
56 |
# @torch.inference_mode()
|
57 |
# def Enhance_prompt(prompt,select_images):
|