Staticaliza commited on
Commit
f4e97ee
·
verified ·
1 Parent(s): cbd5223

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ def get_seed(seed):
48
  def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATIVE_INPUT, model=DEFAULT_MODEL, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, number=1, seed=None):
49
 
50
  repo = None
51
- filter_input = filter_input || ""
52
- negative_input = negative_input || DEFAULT_NEGATIVE_INPUT
53
  seed = get_seed(seed)
54
 
55
  print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)
 
48
  def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATIVE_INPUT, model=DEFAULT_MODEL, height=DEFAULT_HEIGHT, width=DEFAULT_WIDTH, steps=1, guidance=0, number=1, seed=None):
49
 
50
  repo = None
51
+ filter_input = filter_input or ""
52
+ negative_input = negative_input or DEFAULT_NEGATIVE_INPUT
53
  seed = get_seed(seed)
54
 
55
  print(input, filter_input, negative_input, model, height, width, steps, guidance, number, seed)