charliebaby2023 commited on
Commit
6177a01
1 Parent(s): c9f1c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -50,9 +50,9 @@ def update_imgbox(choices):
50
  def gen_fn(model_str, prompt):
51
  if model_str == 'NA':
52
  return None
53
- noise = str('') #str(randint(0, 99999999999))
54
- modprompt = prompt + (random.randint(1,100))
55
- return models_load[model_str](f'{modprompt} {noise}')
56
 
57
 
58
 
 
50
  def gen_fn(model_str, prompt):
51
  if model_str == 'NA':
52
  return None
53
+ noise = str(randint(0, 99999999999))
54
+
55
+ return models_load[model_str](f'{prompt} {noise}')
56
 
57
 
58