Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def generate(prompt):
|
|
26 |
"""
|
27 |
|
28 |
# output is a PIL.Image object
|
29 |
-
image = client.text_to_image(prompt)
|
30 |
return image
|
31 |
|
32 |
theme = gr.themes.Base(
|
|
|
26 |
"""
|
27 |
|
28 |
# output is a PIL.Image object
|
29 |
+
image = client.text_to_image(prompt=prompt, negative_prompt="ugly, deformed, bad quality")
|
30 |
return image
|
31 |
|
32 |
theme = gr.themes.Base(
|