killwithabass commited on
Commit
181c134
·
verified ·
1 Parent(s): 081c283

Update app.py

Browse files

run on zero gpu

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ pipe.to("cuda")
17
 
18
  MAX_SEED = 2**32-1
19
 
20
- #@spaces.GPU(duration=80)#
21
  def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
22
  # Set random seed for reproducibility
23
  if randomize_seed:
 
17
 
18
  MAX_SEED = 2**32-1
19
 
20
+ @spaces.GPU(duration=80)
21
  def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
22
  # Set random seed for reproducibility
23
  if randomize_seed: