Spaces:
Running
on
A10G
Running
on
A10G
Update app_base.py
Browse files- app_base.py +1 -3
app_base.py
CHANGED
@@ -160,9 +160,7 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
160 |
with gr.Group():
|
161 |
image = gr.Image(label="Input image", type="pil", height=600)
|
162 |
prompt = gr.Textbox(label="Prompt")
|
163 |
-
|
164 |
-
adapter_name = gr.Dropdown(label="Adapter name", choices=ADAPTER_NAMES, value=ADAPTER_NAMES[0])
|
165 |
-
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
166 |
run_button = gr.Button("Run")
|
167 |
with gr.Accordion("Advanced options", open=False):
|
168 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|
|
|
160 |
with gr.Group():
|
161 |
image = gr.Image(label="Input image", type="pil", height=600)
|
162 |
prompt = gr.Textbox(label="Prompt")
|
163 |
+
style = gr.Dropdown(label="Style", choices=STYLE_NAMES, value=DEFAULT_STYLE_NAME)
|
|
|
|
|
164 |
run_button = gr.Button("Run")
|
165 |
with gr.Accordion("Advanced options", open=False):
|
166 |
apply_preprocess = gr.Checkbox(label="Apply preprocess", value=True)
|