Spaces:
Running
Running
Update app.py
Browse files
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(
|
41 |
-
return models_load[model_str](f'{prompt}')
|
42 |
|
43 |
|
44 |
|
|
|
37 |
def gen_fn(model_str, prompt):
|
38 |
if model_str == 'NA':
|
39 |
return None
|
40 |
+
noise = str(randint(0, 9)) #str(randint(0, 99999999999))
|
41 |
+
return models_load[model_str](f'{prompt} {noise}')
|
42 |
|
43 |
|
44 |
|