kaytoo2022 commited on
Commit
3d30960
·
verified ·
1 Parent(s): 9fcf33d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ pipe.to("cuda")
23
 
24
  MAX_SEED = 2**32-1
25
 
26
- @spaces.GPU(duration=80)
27
  def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
28
  # Set random seed for reproducibility
29
  if randomize_seed:
@@ -65,7 +65,7 @@ example_steps = 32
65
  example_width = 1152
66
  example_height = 896
67
  example_seed = 3981632454
68
- example_lora_scale = 0.8
69
 
70
  def load_example():
71
  # Load example image from file
 
23
 
24
  MAX_SEED = 2**32-1
25
 
26
+ @spaces.GPU()
27
  def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora_scale, progress=gr.Progress(track_tqdm=True)):
28
  # Set random seed for reproducibility
29
  if randomize_seed:
 
65
  example_width = 1152
66
  example_height = 896
67
  example_seed = 3981632454
68
+ example_lora_scale = 0.85
69
 
70
  def load_example():
71
  # Load example image from file