fapperboy88 commited on
Commit
6c2c962
·
verified ·
1 Parent(s): 085f15d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -222,13 +222,16 @@ with gr.Blocks(css=css, head=head) as demo:
222
  btn = gr.Button("Run", variant="primary")
223
  with gr.Column():
224
  with gr.Accordion("parameters", open=False):
225
- ckpt_value = os.path.join('SD1.5', 'realisticVisionV60B1_v51VAE.safetensors')
226
  ckpt_name = gr.Dropdown(
227
- label="Base Model (fixed for demo)",
228
- choices=[ckpt_value],
229
- value=ckpt_value,
230
- interactive=False
231
  )
 
 
 
232
  negative_prompt = gr.Textbox(
233
  label="Negative Prompt",
234
  value="",
 
222
  btn = gr.Button("Run", variant="primary")
223
  with gr.Column():
224
  with gr.Accordion("parameters", open=False):
225
+
226
  ckpt_name = gr.Dropdown(
227
+ label="Base Model Name",
228
+ choices=folder_paths.get_filename_list("checkpoints"),
229
+ value='SD1.5/realisticVisionV60B1_v51VAE.safetensors',
230
+ interactive=True
231
  )
232
+
233
+
234
+
235
  negative_prompt = gr.Textbox(
236
  label="Negative Prompt",
237
  value="",