Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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:
|