JackAILab commited on
Commit
a184ef6
·
verified ·
1 Parent(s): cde13ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ with gr.Blocks(title="ConsistentID_SDXL Demo") as demo:
180
  return preset_template[evt.index]
181
 
182
  selected_template_images = gr.Text(show_label=False, visible=False, placeholder="Selected")
183
- costum_image.change(handle_uploaded_image, inputs=costum_image, outputs=selected_template_images)
184
  print(selected_template_images)
185
 
186
  with gr.TabItem("Upload Image") as upload_image_tab:
 
180
  return preset_template[evt.index]
181
 
182
  selected_template_images = gr.Text(show_label=False, visible=False, placeholder="Selected")
183
+ gallery.select(select_function, None, selected_template_images)
184
  print(selected_template_images)
185
 
186
  with gr.TabItem("Upload Image") as upload_image_tab: