Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files66 unmodified lines6768697071727366 unmodified linesfinally:shutil.rmtree(tmp_dir, ignore_errors=True)@spaces.GPU()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)):if randomize_seed:seed = random.randint(0, MAX_SEED)66 unmodified lines6768697071727366 unmodified linesfinally:shutil.rmtree(tmp_dir, ignore_errors=True)@spaces.GPU(duration=40)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)):if randomize_seed:seed = random.randint(0, MAX_SEED)
app.py+1-1