Spaces:
Runtime error
Runtime error
add default negative_prompt
Browse files- app_sketch.py +4 -1
app_sketch.py
CHANGED
|
@@ -65,7 +65,10 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
| 65 |
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
| 66 |
run_button = gr.Button("Run")
|
| 67 |
with gr.Accordion("Advanced options", open=False):
|
| 68 |
-
negative_prompt = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
| 69 |
num_steps = gr.Slider(
|
| 70 |
label="Number of steps",
|
| 71 |
minimum=1,
|
|
|
|
| 65 |
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
| 66 |
run_button = gr.Button("Run")
|
| 67 |
with gr.Accordion("Advanced options", open=False):
|
| 68 |
+
negative_prompt = gr.Textbox(
|
| 69 |
+
label="Negative prompt",
|
| 70 |
+
value=" extra digit, fewer digits, cropped, worst quality, low quality, glitch, deformed, mutated, ugly, disfigured",
|
| 71 |
+
)
|
| 72 |
num_steps = gr.Slider(
|
| 73 |
label="Number of steps",
|
| 74 |
minimum=1,
|