Spaces:
Runtime error
Runtime error
Update app_sketch.py
Browse files- app_sketch.py +3 -2
app_sketch.py
CHANGED
@@ -61,10 +61,11 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
61 |
brush_radius=4,
|
62 |
height=600,
|
63 |
)
|
64 |
-
|
|
|
|
|
65 |
run_button = gr.Button("Run")
|
66 |
with gr.Accordion("Advanced options", open=False):
|
67 |
-
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
68 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
69 |
num_steps = gr.Slider(
|
70 |
label="Number of steps",
|
|
|
61 |
brush_radius=4,
|
62 |
height=600,
|
63 |
)
|
64 |
+
with gr.Row():
|
65 |
+
adapter_name = gr.Dropdown(label="Adapter name", choices=ADAPTER_NAMES, value=ADAPTER_NAMES[0])
|
66 |
+
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
67 |
run_button = gr.Button("Run")
|
68 |
with gr.Accordion("Advanced options", open=False):
|
|
|
69 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
70 |
num_steps = gr.Slider(
|
71 |
label="Number of steps",
|