Spaces:
Runtime error
Runtime error
Commit ·
058f1a4
1
Parent(s): 3868073
WIP
Browse files168 unmodified lines1691701711721721731741753 unmodified lines179180181182182183184185168 unmodified lines preview_image = gr.Image(label="Pre‑processed Cond", height=512 + 256)
# ------------ Prompt ------------ prompt_txt = gr.Textbox(label="Prompt", value="A beautiful image", lines=1) prompt_txt = gr.Textbox(label="Prompt", value="Una imagen bonita", lines=1)
# ------------ ControlNet settings ------------ with gr.Row():3 unmodified lines choices=list(MODE_MAPPING.keys()), value="canny", label="Mode" ) strength_slider = gr.Slider( 0.0, 1.0, value=0.8, step=0.01, label="control strength" 0.0, 1.0, value=0.9, step=0.01, label="control strength" ) with gr.Column(): seed_slider = gr.Slider(0, MAX_SEED, step=1, value=42, label="Seed")app.py+2-2