Yntec commited on
Commit
9905218
1 Parent(s): e1731b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,8 +37,8 @@ def update_imgbox(choices):
37
  def gen_fn(model_str, prompt):
38
  if model_str == 'NA':
39
  return None
40
- noise = str(randint(0, 99999999999))
41
- return models_load[model_str](f'{prompt}') #return models_load[model_str](f'{prompt} {noise}') # Used to add noise to images when sending the same prompt to a model and producing several images.
42
 
43
 
44
 
 
37
  def gen_fn(model_str, prompt):
38
  if model_str == 'NA':
39
  return None
40
+ noise = str(randint(1941, 2023)) #str(randint(0, 99999999999))
41
+ return models_load[model_str](f'{prompt} {noise}')
42
 
43
 
44