Spaces:
Sleeping
Sleeping
More fixes
Browse files
app.py
CHANGED
@@ -103,21 +103,21 @@ with gr.Blocks(css=css) as demo:
|
|
103 |
""",
|
104 |
elem_id="intro",
|
105 |
)
|
106 |
-
|
107 |
prompt = gr.Textbox(
|
108 |
-
placeholder="Insert your prompt here:",
|
109 |
)
|
110 |
negative_prompt = gr.Textbox(
|
111 |
-
placeholder="Insert your negative prompt here:",
|
112 |
)
|
113 |
generate_bt = gr.Button("Generate", scale=1)
|
114 |
|
115 |
image = gr.Image(type="filepath")
|
116 |
with gr.Accordion("Advanced options", open=True):
|
117 |
guidance = gr.Slider(
|
118 |
-
label="Guidance", minimum=0.0, maximum=5, value=
|
119 |
)
|
120 |
-
steps = gr.Slider(label="Steps", value=
|
121 |
seed = gr.Slider(
|
122 |
randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
|
123 |
)
|
|
|
103 |
""",
|
104 |
elem_id="intro",
|
105 |
)
|
106 |
+
|
107 |
prompt = gr.Textbox(
|
108 |
+
placeholder="Insert your prompt here:", lines= 4, container=False
|
109 |
)
|
110 |
negative_prompt = gr.Textbox(
|
111 |
+
placeholder="Insert your negative prompt here:", lines= 4, container=False
|
112 |
)
|
113 |
generate_bt = gr.Button("Generate", scale=1)
|
114 |
|
115 |
image = gr.Image(type="filepath")
|
116 |
with gr.Accordion("Advanced options", open=True):
|
117 |
guidance = gr.Slider(
|
118 |
+
label="Guidance", minimum=0.0, maximum=5, value=1.5, step=0.001
|
119 |
)
|
120 |
+
steps = gr.Slider(label="Steps", value=8, minimum=1, maximum=50, step=1)
|
121 |
seed = gr.Slider(
|
122 |
randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
|
123 |
)
|