huzey commited on
Commit
5d4d23f
1 Parent(s): eac9a58

update click

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="NCUT spectral-tSNE")
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])