lllyasviel commited on
Commit
4cd7c68
1 Parent(s): 36fc6d0

Tune refiner steps according to UniPC’s formulation (#218)

Browse files
Files changed (1) hide show
  1. modules/async_worker.py +2 -2
modules/async_worker.py CHANGED
@@ -45,10 +45,10 @@ def worker():
45
 
46
  if performance_selction == 'Speed':
47
  steps = 30
48
- switch = 20
49
  else:
50
  steps = 60
51
- switch = 40
52
 
53
  width, height = aspect_ratios[aspect_ratios_selction]
54
 
 
45
 
46
  if performance_selction == 'Speed':
47
  steps = 30
48
+ switch = 15
49
  else:
50
  steps = 60
51
+ switch = 30
52
 
53
  width, height = aspect_ratios[aspect_ratios_selction]
54