charliebaby2023
commited on
Commit
•
6177a01
1
Parent(s):
c9f1c31
Update app.py
Browse files
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(
|
54 |
-
|
55 |
-
return models_load[model_str](f'{
|
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 |
|