valhalla commited on
Commit
68a0112
1 Parent(s): 7bcfad3

fix base app

Browse files
Files changed (1) hide show
  1. app_base.py +3 -1
app_base.py CHANGED
@@ -160,7 +160,9 @@ 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
- 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)
 
160
  with gr.Group():
161
  image = gr.Image(label="Input image", type="pil", height=600)
162
  prompt = gr.Textbox(label="Prompt")
163
+ with gr.Row():
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)