Spaces:
Runtime error
Runtime error
ai-forever
commited on
Commit
β’
55446f7
1
Parent(s):
134c843
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ num_steps=50,
|
|
21 |
prior_cf_scale=1,
|
22 |
prior_steps='25',
|
23 |
"""
|
24 |
-
def infer(prompt, negative):
|
25 |
images = model.generate_text2img(prompt,
|
26 |
negative_prior_prompt=negative,
|
27 |
negative_decoder_prompt=negative,
|
|
|
21 |
prior_cf_scale=1,
|
22 |
prior_steps='25',
|
23 |
"""
|
24 |
+
def infer(prompt, negative='low quality, bad quality'):
|
25 |
images = model.generate_text2img(prompt,
|
26 |
negative_prior_prompt=negative,
|
27 |
negative_decoder_prompt=negative,
|