Spaces:
Runtime error
Runtime error
Update app_base.py
Browse filesadd default negative prompt
- app_base.py +1 -1
app_base.py
CHANGED
@@ -175,7 +175,7 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
175 |
run_button = gr.Button("Run")
|
176 |
with gr.Accordion("Advanced options", open=False):
|
177 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|
178 |
-
negative_prompt = gr.Textbox(label="Negative prompt")
|
179 |
num_inference_steps = gr.Slider(
|
180 |
label="Number of steps",
|
181 |
minimum=1,
|
|
|
175 |
run_button = gr.Button("Run")
|
176 |
with gr.Accordion("Advanced options", open=False):
|
177 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|
178 |
+
negative_prompt = gr.Textbox(label="Negative prompt", value=" extra digit, fewer digits, cropped, worst quality, low quality, glitch, deformed, mutated, ugly, disfigured")
|
179 |
num_inference_steps = gr.Slider(
|
180 |
label="Number of steps",
|
181 |
minimum=1,
|