Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ iface = gr.Interface(
|
|
66 |
fn=generate_image,
|
67 |
inputs=[
|
68 |
gr.Textbox(label="Prompt", placeholder="Describe the image you want to generate"),
|
69 |
-
gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image"),
|
70 |
gr.Dropdown(label="Sampler", choices=["DPM", "EulerA", "LMS", "DDIM"], value="DDIM"),
|
71 |
gr.Number(label="Seed", value=0, step=1), # Ensure seed is treated correctly
|
72 |
gr.Slider(label="Guidance Scale", minimum=1, maximum=9, value=5, step=1),
|
|
|
66 |
fn=generate_image,
|
67 |
inputs=[
|
68 |
gr.Textbox(label="Prompt", placeholder="Describe the image you want to generate"),
|
69 |
+
gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image", default="(worst quality, low quality, normal quality, lowres, low details, oversaturated, undersaturated, overexposed, underexposed, grayscale, bw, bad photo, bad photography, bad art:1.4), (watermark, signature, text font, username, error, logo, words, letters, digits, autograph, trademark, name:1.2), (blur, blurry, grainy), morbid, ugly, asymmetrical, mutated malformed, mutilated, poorly lit, bad shadow, draft, cropped, out of frame, cut off, censored, jpeg artifacts, out of focus, glitch, duplicate, (airbrushed, cartoon, anime, semi-realistic, cgi, render, blender, digital art, manga, amateur:1.3), (3D ,3D Game, 3D Game Scene, 3D Character:1.1), (bad hands, bad anatomy, bad body, bad face, bad teeth, bad arms, bad legs, deformities:1.3)"),
|
70 |
gr.Dropdown(label="Sampler", choices=["DPM", "EulerA", "LMS", "DDIM"], value="DDIM"),
|
71 |
gr.Number(label="Seed", value=0, step=1), # Ensure seed is treated correctly
|
72 |
gr.Slider(label="Guidance Scale", minimum=1, maximum=9, value=5, step=1),
|