Staticaliza commited on
Commit
bf41784
·
verified ·
1 Parent(s): 8c94298

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,8 +96,8 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
96
  steps_set = 16
97
  guidance_set = 3
98
 
99
- steps = (not steps_set or steps_set < 0 and steps_set) or steps
100
- guidance = (not guidance_set or guidance_set < 0 and guidance_set) or guidance
101
 
102
  repo.to(DEVICE)
103
 
 
96
  steps_set = 16
97
  guidance_set = 3
98
 
99
+ steps = (not steps or steps < 0 and steps_set) or steps
100
+ guidance = (not guidance or guidance < 0 and guidance_set) or guidance
101
 
102
  repo.to(DEVICE)
103