Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,7 @@ def generate_image(
|
|
57 |
Args:
|
58 |
prompt (str): Text description of the image to generate. Include: subject, style (e.g. photorealistic/anime/oil painting/watercolor/3D render), composition (e.g. close-up/wide shot/dynamic angle), lighting (e.g. soft/dramatic/backlit), colors (e.g. vibrant/muted/monochrome), mood (e.g. serene/dramatic/mysterious), setting. Specify text inquotes with position if needed. Keep under 200 words for best results.
|
59 |
negative_prompt (str): Text description of traits to exclude e.g. text, watermark, copyright, blurry, low resolution
|
|
|
60 |
"""
|
61 |
# Hardcode the negative prompt as requested
|
62 |
# negative_prompt = "text, watermark, copyright, blurry, low resolution"
|
|
|
57 |
Args:
|
58 |
prompt (str): Text description of the image to generate. Include: subject, style (e.g. photorealistic/anime/oil painting/watercolor/3D render), composition (e.g. close-up/wide shot/dynamic angle), lighting (e.g. soft/dramatic/backlit), colors (e.g. vibrant/muted/monochrome), mood (e.g. serene/dramatic/mysterious), setting. Specify text inquotes with position if needed. Keep under 200 words for best results.
|
59 |
negative_prompt (str): Text description of traits to exclude e.g. text, watermark, copyright, blurry, low resolution
|
60 |
+
num_inference_steps (int): Use 18 or fewer steps to keep generation time under 30 seconds. Only specify if instructed by the User.
|
61 |
"""
|
62 |
# Hardcode the negative prompt as requested
|
63 |
# negative_prompt = "text, watermark, copyright, blurry, low resolution"
|