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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -48,6 +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
  seed = get_seed(seed)
52
 
53
  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 || ""
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)