Spaces:
Sleeping
Sleeping
rafaaa2105
commited on
Commit
•
18c183f
1
Parent(s):
874cb7c
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ with gr.Blocks() as demo:
|
|
56 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract], kid, kid looking, child, childish look")
|
57 |
num_inference_steps = gr.Slider(minimum=10, maximum=50, step=1, value=25, label="Number of Inference Steps")
|
58 |
guidance_scale = gr.Slider(minimum=1, maximum=20, step=0.5, value=7.5, label="Guidance Scale")
|
59 |
-
height = gr.Slider(minimum=1024, maximum=2048, step=256, value=1024, "Height")
|
60 |
-
width = gr.Slider(minimum=1024, maximum=2048, step=256, value=1024, "Width")
|
61 |
num_images = gr.Slider(minimum=1, maximum=4, step=1, value=4, label="Number of Images")
|
62 |
generate_btn = gr.Button("Generate Image")
|
63 |
with gr.Column():
|
|
|
56 |
negative_prompt = gr.Textbox(label="Negative Prompt", value="lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract], kid, kid looking, child, childish look")
|
57 |
num_inference_steps = gr.Slider(minimum=10, maximum=50, step=1, value=25, label="Number of Inference Steps")
|
58 |
guidance_scale = gr.Slider(minimum=1, maximum=20, step=0.5, value=7.5, label="Guidance Scale")
|
59 |
+
height = gr.Slider(minimum=1024, maximum=2048, step=256, value=1024, label="Height")
|
60 |
+
width = gr.Slider(minimum=1024, maximum=2048, step=256, value=1024, label="Width")
|
61 |
num_images = gr.Slider(minimum=1, maximum=4, step=1, value=4, label="Number of Images")
|
62 |
generate_btn = gr.Button("Generate Image")
|
63 |
with gr.Column():
|