um235 commited on
Commit
cd22dd4
·
verified ·
1 Parent(s): f57a31d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -94,7 +94,7 @@ with gr.Blocks(css=css) as demo:
94
  ],
95
  value="stable-diffusion-v1-5/stable-diffusion-v1-5 with lora",
96
  show_label=True,
97
- type="str",
98
  )
99
  with gr.Row():
100
  lscale = gr.Slider(
@@ -135,7 +135,7 @@ with gr.Blocks(css=css) as demo:
135
  visible=False,
136
  )
137
 
138
- control_image = gr.Image(label="ControlNet Image", type="pil", visible=False)
139
 
140
  with gr.Accordion("IP-Adapter Settings", open=False):
141
  ip_adapter_enabled = gr.Checkbox(label="Enable IP-Adapter", value=False)
@@ -237,4 +237,4 @@ with gr.Blocks(css=css) as demo:
237
  )
238
 
239
  if __name__ == "__main__":
240
- demo.launch()
 
94
  ],
95
  value="stable-diffusion-v1-5/stable-diffusion-v1-5 with lora",
96
  show_label=True,
97
+ type="value",
98
  )
99
  with gr.Row():
100
  lscale = gr.Slider(
 
135
  visible=False,
136
  )
137
 
138
+ control_image = gr.Image(label="ControlNet Image", type="pil", visible=False)
139
 
140
  with gr.Accordion("IP-Adapter Settings", open=False):
141
  ip_adapter_enabled = gr.Checkbox(label="Enable IP-Adapter", value=False)
 
237
  )
238
 
239
  if __name__ == "__main__":
240
+ demo.launch()