Commit
•
361d7a3
1
Parent(s):
156c611
Update app.py
Browse files
app.py
CHANGED
@@ -160,11 +160,6 @@ with gr.Blocks(css=css) as demo:
|
|
160 |
cool_japan_type=gr.Radio(["Anime", "Manga", "Game"])
|
161 |
cool_japan_type.show_label=False
|
162 |
cool_japan_type.value="Anime"
|
163 |
-
|
164 |
-
with gr.Row():
|
165 |
-
image_size=gr.Radio(["Portrait","Landscape","Square"])
|
166 |
-
cool_japan_type.show_label=False
|
167 |
-
cool_japan_type.value="Portrait"
|
168 |
|
169 |
with gr.Row():
|
170 |
prompt = gr.Textbox(label="Prompt", show_label=False, max_lines=2,placeholder="[your prompt]").style(container=False)
|
@@ -178,7 +173,11 @@ with gr.Blocks(css=css) as demo:
|
|
178 |
with gr.Group():
|
179 |
neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
|
180 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
181 |
-
|
|
|
|
|
|
|
|
|
182 |
with gr.Row():
|
183 |
guidance = gr.Slider(label="Guidance scale", value=7.5, maximum=15)
|
184 |
steps = gr.Slider(label="Steps", value=20, minimum=2, maximum=75, step=1)
|
|
|
160 |
cool_japan_type=gr.Radio(["Anime", "Manga", "Game"])
|
161 |
cool_japan_type.show_label=False
|
162 |
cool_japan_type.value="Anime"
|
|
|
|
|
|
|
|
|
|
|
163 |
|
164 |
with gr.Row():
|
165 |
prompt = gr.Textbox(label="Prompt", show_label=False, max_lines=2,placeholder="[your prompt]").style(container=False)
|
|
|
173 |
with gr.Group():
|
174 |
neg_prompt = gr.Textbox(label="Negative prompt", placeholder="What to exclude from the image")
|
175 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
176 |
+
with gr.Row():
|
177 |
+
image_size=gr.Radio(["Portrait","Landscape","Square"])
|
178 |
+
image_size.show_label=False
|
179 |
+
image_size.value="Portrait"
|
180 |
+
|
181 |
with gr.Row():
|
182 |
guidance = gr.Slider(label="Guidance scale", value=7.5, maximum=15)
|
183 |
steps = gr.Slider(label="Steps", value=20, minimum=2, maximum=75, step=1)
|