Update app.py
Browse files
app.py
CHANGED
@@ -36,9 +36,7 @@ def gen_fn(model_str, prompt, negative_prompt):
|
|
36 |
if model_str == 'NA':
|
37 |
return None
|
38 |
noise = str(randint(0, 9999))
|
39 |
-
|
40 |
-
prompt += f" --negative-prompt {negative_prompt}"
|
41 |
-
return models_load[model_str](f'{prompt} {noise}')
|
42 |
|
43 |
def make_me():
|
44 |
with gr.Row():
|
|
|
36 |
if model_str == 'NA':
|
37 |
return None
|
38 |
noise = str(randint(0, 9999))
|
39 |
+
return models_load[model_str](prompt=prompt, negative_prompt=negative_prompt, seed=noise)
|
|
|
|
|
40 |
|
41 |
def make_me():
|
42 |
with gr.Row():
|