Update app.py
Browse files
app.py
CHANGED
@@ -257,34 +257,66 @@ function stopAllAudio() {
|
|
257 |
}
|
258 |
"""
|
259 |
|
260 |
-
#
|
261 |
-
with gr.
|
262 |
-
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
|
265 |
-
with gr.
|
266 |
-
gr.Markdown("
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
with gr.Group(elem_classes="prompt-box box-common"):
|
275 |
-
prompt = gr.TextArea(
|
276 |
-
label="โ๏ธ Your Prompt (ํ๊ธ ๋๋ ์์ด)",
|
277 |
-
placeholder="์ด๋ฏธ์ง๋ฅผ ์ค๋ช
ํ์ธ์...",
|
278 |
-
lines=5
|
279 |
)
|
280 |
-
|
281 |
-
"
|
282 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
)
|
284 |
-
|
285 |
-
# ๊ณ ๊ธ ์ต์
|
286 |
-
with gr.Accordion("๐จ Advanced Options", open=False, elem_classes="accordion box-common"):
|
287 |
-
[์ด์ ์ต์
์ฝ๋์ ๋์ผ]
|
288 |
|
289 |
# ์ค๋์ค ์ปจํธ๋กค
|
290 |
gr.HTML(f"""
|
|
|
257 |
}
|
258 |
"""
|
259 |
|
260 |
+
# ๊ณ ๊ธ ์ต์
๋ถ๋ถ์ ๋ค์๊ณผ ๊ฐ์ด ์์
|
261 |
+
with gr.Accordion("๐จ Advanced Options", open=False, elem_classes="accordion box-common"):
|
262 |
+
with gr.Group(elem_classes="parameter-box"):
|
263 |
+
gr.Markdown("### ๐๏ธ Generation Parameters")
|
264 |
+
with gr.Row():
|
265 |
+
with gr.Column():
|
266 |
+
cfg_scale = gr.Slider(
|
267 |
+
label="CFG Scale",
|
268 |
+
minimum=1,
|
269 |
+
maximum=20,
|
270 |
+
step=0.5,
|
271 |
+
value=example_cfg_scale
|
272 |
+
)
|
273 |
+
steps = gr.Slider(
|
274 |
+
label="Steps",
|
275 |
+
minimum=1,
|
276 |
+
maximum=100,
|
277 |
+
step=1,
|
278 |
+
value=example_steps
|
279 |
+
)
|
280 |
+
lora_scale = gr.Slider(
|
281 |
+
label="LoRA Scale",
|
282 |
+
minimum=0,
|
283 |
+
maximum=1,
|
284 |
+
step=0.01,
|
285 |
+
value=example_lora_scale
|
286 |
+
)
|
287 |
|
288 |
+
with gr.Group(elem_classes="parameter-box"):
|
289 |
+
gr.Markdown("### ๐ Image Dimensions")
|
290 |
+
with gr.Row():
|
291 |
+
width = gr.Slider(
|
292 |
+
label="Width",
|
293 |
+
minimum=256,
|
294 |
+
maximum=1536,
|
295 |
+
step=64,
|
296 |
+
value=example_width
|
|
|
|
|
|
|
|
|
|
|
297 |
)
|
298 |
+
height = gr.Slider(
|
299 |
+
label="Height",
|
300 |
+
minimum=256,
|
301 |
+
maximum=1536,
|
302 |
+
step=64,
|
303 |
+
value=example_height
|
304 |
+
)
|
305 |
+
|
306 |
+
with gr.Group(elem_classes="parameter-box"):
|
307 |
+
gr.Markdown("### ๐ฒ Seed Settings")
|
308 |
+
with gr.Row():
|
309 |
+
randomize_seed = gr.Checkbox(
|
310 |
+
True,
|
311 |
+
label="Randomize seed"
|
312 |
+
)
|
313 |
+
seed = gr.Slider(
|
314 |
+
label="Seed",
|
315 |
+
minimum=0,
|
316 |
+
maximum=MAX_SEED,
|
317 |
+
step=1,
|
318 |
+
value=example_seed
|
319 |
)
|
|
|
|
|
|
|
|
|
320 |
|
321 |
# ์ค๋์ค ์ปจํธ๋กค
|
322 |
gr.HTML(f"""
|