Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,18 +65,18 @@ footer {visibility: hidden !important;}
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme') as app:
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
|
| 81 |
with gr.Row():
|
| 82 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
|
|
|
| 65 |
"""
|
| 66 |
|
| 67 |
with gr.Blocks(theme='Nymbo/Nymbo_Theme') as app:
|
| 68 |
+
with gr.Row():
|
| 69 |
+
with gr.Column(elem_id="prompt-container"):
|
| 70 |
+
with gr.Row():
|
| 71 |
+
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
| 72 |
+
with gr.Row():
|
| 73 |
+
with gr.Accordion("Advanced Settings", open=False):
|
| 74 |
+
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")
|
| 75 |
+
steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)
|
| 76 |
+
cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
|
| 77 |
+
method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
| 78 |
+
strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
|
| 79 |
+
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
|
| 80 |
|
| 81 |
with gr.Row():
|
| 82 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|