Spaces:
Running
on
Zero
Running
on
Zero
Update inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -19,7 +19,7 @@ pipe = AutoPipelineForImage2Image.from_pretrained(
|
|
19 |
|
20 |
pipe.load_lora_weights("theoracle/sdxl-lora-headshot")
|
21 |
|
22 |
-
@spaces.GPU
|
23 |
def generate_with_lora(image, prompt, negative_prompt, strength, guidance_scale):
|
24 |
try:
|
25 |
if image is None:
|
|
|
19 |
|
20 |
pipe.load_lora_weights("theoracle/sdxl-lora-headshot")
|
21 |
|
22 |
+
@spaces.GPU(duration=30)
|
23 |
def generate_with_lora(image, prompt, negative_prompt, strength, guidance_scale):
|
24 |
try:
|
25 |
if image is None:
|