theoracle commited on
Commit
81698f7
·
verified ·
1 Parent(s): 3a30bfb

Update inference.py

Browse files
Files changed (1) hide show
  1. 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: