Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def gen_fn(model_str, prompt):
|
|
38 |
if model_str == 'NA':
|
39 |
return None
|
40 |
noise = str(randint(0, 99999999999))
|
41 |
-
return models_load[model_str](f'{prompt} {noise}')
|
42 |
|
43 |
|
44 |
|
|
|
38 |
if model_str == 'NA':
|
39 |
return None
|
40 |
noise = str(randint(0, 99999999999))
|
41 |
+
return models_load[model_str](f'{prompt}') #return models_load[model_str](f'{prompt} {noise}') # Used to add noise to images when sending the same prompt to a model and producing several images.
|
42 |
|
43 |
|
44 |
|