Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def update_imgbox(choices):
|
|
37 |
def gen_fn(model_str, prompt):
|
38 |
if model_str == 'NA':
|
39 |
return None
|
40 |
-
noise = str(
|
41 |
return models_load[model_str](f'{prompt} {noise}')
|
42 |
|
43 |
|
|
|
37 |
def gen_fn(model_str, prompt):
|
38 |
if model_str == 'NA':
|
39 |
return None
|
40 |
+
noise = str('') #str(randint(0, 99999999999))
|
41 |
return models_load[model_str](f'{prompt} {noise}')
|
42 |
|
43 |
|