Spaces:
Runtime error
Runtime error
Clean up
Browse files- app_base.py +2 -5
- app_sketch.py +1 -1
app_base.py
CHANGED
@@ -53,11 +53,8 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
53 |
run_button = gr.Button("Run")
|
54 |
with gr.Accordion("Advanced options", open=False):
|
55 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|
56 |
-
negative_prompt = gr.Textbox(
|
57 |
-
|
58 |
-
value="",
|
59 |
-
)
|
60 |
-
style = gr.Dropdown(choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME, label="Style")
|
61 |
num_inference_steps = gr.Slider(
|
62 |
label="Number of steps",
|
63 |
minimum=1,
|
|
|
53 |
run_button = gr.Button("Run")
|
54 |
with gr.Accordion("Advanced options", open=False):
|
55 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|
56 |
+
negative_prompt = gr.Textbox(label="Negative prompt")
|
57 |
+
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
|
|
|
|
|
|
58 |
num_inference_steps = gr.Slider(
|
59 |
label="Number of steps",
|
60 |
minimum=1,
|
app_sketch.py
CHANGED
@@ -66,7 +66,7 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
66 |
prompt = gr.Textbox(label="Prompt")
|
67 |
run_button = gr.Button("Run")
|
68 |
with gr.Accordion("Advanced options", open=False):
|
69 |
-
style = gr.Dropdown(choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME
|
70 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
71 |
num_steps = gr.Slider(
|
72 |
label="Number of steps",
|
|
|
66 |
prompt = gr.Textbox(label="Prompt")
|
67 |
run_button = gr.Button("Run")
|
68 |
with gr.Accordion("Advanced options", open=False):
|
69 |
+
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
70 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
71 |
num_steps = gr.Slider(
|
72 |
label="Number of steps",
|