Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def load_lora_auto(pipe, lora_input):
|
|
67 |
finally:
|
68 |
shutil.rmtree(tmp_dir, ignore_errors=True)
|
69 |
|
70 |
-
@spaces.GPU(duration=
|
71 |
def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, lora_id=None, lora_scale=0.95, progress=gr.Progress(track_tqdm=True)):
|
72 |
if randomize_seed:
|
73 |
seed = random.randint(0, MAX_SEED)
|
|
|
67 |
finally:
|
68 |
shutil.rmtree(tmp_dir, ignore_errors=True)
|
69 |
|
70 |
+
@spaces.GPU(duration=25)
|
71 |
def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidance_scale=3.5, num_inference_steps=28, lora_id=None, lora_scale=0.95, progress=gr.Progress(track_tqdm=True)):
|
72 |
if randomize_seed:
|
73 |
seed = random.randint(0, MAX_SEED)
|