Spaces:
Build error
Build error
Update app.py
Browse files57 unmodified lines58596061626364656667686970717273747576777857 unmodified linescss = """#app-container {max-width: 580px;margin-left: auto;margin-right: auto;}"""with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:with gr.Column(elem_id="app-container"):with gr.Row():with gr.Column(elem_id="prompt-container"):with gr.Row():text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")with gr.Row():with gr.Accordion("Advanced Settings", open=False):negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image", value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=3, elem_id="negative-prompt-text-input")steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])57 unmodified lines5859606162636465666768697071727374757677787957 unmodified linescss = """#app-container {max-width: 600px;margin-left: auto;margin-right: auto;}"""with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:gr.HTML("<center><h1>FLUX.1-Dev</h1></center>")with gr.Column(elem_id="app-container"):with gr.Row():with gr.Column(elem_id="prompt-container"):with gr.Row():text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=2, elem_id="prompt-text-input")with gr.Row():with gr.Accordion("Advanced Settings", open=False):negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image", value="(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos", lines=3, elem_id="negative-prompt-text-input")steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
app.py+4-3