charliebaby2023
commited on
Commit
•
25a1729
1
Parent(s):
6177a01
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def update_imgbox(choices):
|
|
50 |
def gen_fn(model_str, prompt):
|
51 |
if model_str == 'NA':
|
52 |
return None
|
53 |
-
noise = str(randint(0,
|
54 |
|
55 |
return models_load[model_str](f'{prompt} {noise}')
|
56 |
|
|
|
50 |
def gen_fn(model_str, prompt):
|
51 |
if model_str == 'NA':
|
52 |
return None
|
53 |
+
noise = str(randint(0, 9999))
|
54 |
|
55 |
return models_load[model_str](f'{prompt} {noise}')
|
56 |
|