Spaces:
Running
on
Zero
Running
on
Zero
update click
Browse files
app.py
CHANGED
@@ -2540,7 +2540,7 @@ with demo:
|
|
2540 |
gr.Markdown('---')
|
2541 |
gr.Markdown('<h3 style="text-align: center;">Please click on the image blow ↓</h3>')
|
2542 |
gr.Markdown('---')
|
2543 |
-
image_plot2 = ImagePrompter(show_label=True, elem_id="image_plot", interactive=False, label="
|
2544 |
image_slider2 = gr.Slider(0, 100, step=1, label="Image Index", value=0, elem_id="image_slider", interactive=True)
|
2545 |
image_slider2.change(fn=update_image_prompt, inputs=[image_slider2, input_gallery], outputs=[image_plot2])
|
2546 |
output_gallery.change(fn=update_image_prompt, inputs=[image_slider2, input_gallery], outputs=[image_plot2])
|
|
|
2540 |
gr.Markdown('---')
|
2541 |
gr.Markdown('<h3 style="text-align: center;">Please click on the image blow ↓</h3>')
|
2542 |
gr.Markdown('---')
|
2543 |
+
image_plot2 = ImagePrompter(show_label=True, elem_id="image_plot", interactive=False, label="Original Image")
|
2544 |
image_slider2 = gr.Slider(0, 100, step=1, label="Image Index", value=0, elem_id="image_slider", interactive=True)
|
2545 |
image_slider2.change(fn=update_image_prompt, inputs=[image_slider2, input_gallery], outputs=[image_plot2])
|
2546 |
output_gallery.change(fn=update_image_prompt, inputs=[image_slider2, input_gallery], outputs=[image_plot2])
|