charliebaby2023 commited on
Commit
c9f1c31
1 Parent(s): 9fb7b5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,7 +51,8 @@ def gen_fn(model_str, prompt):
51
  if model_str == 'NA':
52
  return None
53
  noise = str('') #str(randint(0, 99999999999))
54
- return models_load[model_str](f'{prompt + random.randint(1,100)} {noise}')
 
55
 
56
 
57
 
 
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