phillipinseoul commited on
Commit
b29e176
1 Parent(s): 0b329f4

fix parameter errors

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -27,13 +27,13 @@ def run_inference(
27
  img = syncdiffusion.sample_syncdiffusion(
28
  prompts = prompt,
29
  negative_prompts = "",
30
- height = height,
31
  width = width,
32
  num_inference_steps = 50,
33
  guidance_scale = 7.5,
34
  sync_weight = sync_weight,
35
- sync_decay_rate = sync_decay_rate,
36
- sync_freq = sync_freq,
37
  sync_thres = sync_thres,
38
  stride = 16
39
  )
 
27
  img = syncdiffusion.sample_syncdiffusion(
28
  prompts = prompt,
29
  negative_prompts = "",
30
+ height = 512,
31
  width = width,
32
  num_inference_steps = 50,
33
  guidance_scale = 7.5,
34
  sync_weight = sync_weight,
35
+ sync_decay_rate = 0.99,
36
+ sync_freq = 1,
37
  sync_thres = sync_thres,
38
  stride = 16
39
  )