andy-wyx commited on
Commit
7b461d5
·
1 Parent(s): 85494ec

rm closest leaf samples

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -399,8 +399,8 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
399
  #segment_button.click(segment_image, inputs=input_image, outputs=segmented_image)
400
  classify_image_button.click(classify_image, inputs=[original_image,model_name], outputs=class_predicted)
401
  # generate_exp.click(exp_image, inputs=[input_image,model_name,explain_method,sampling_size], outputs=[exp1,exp2,exp3,exp4,exp5]) #
402
- with gr.Accordion('Closest Leaves Images'):
403
- gr.Markdown("5 closest leaves")
404
  with gr.Accordion("Class Distribution of Closest Samples "):
405
  gr.Markdown("Visualize class distribution of top-k closest samples in our dataset")
406
  with gr.Column():
 
399
  #segment_button.click(segment_image, inputs=input_image, outputs=segmented_image)
400
  classify_image_button.click(classify_image, inputs=[original_image,model_name], outputs=class_predicted)
401
  # generate_exp.click(exp_image, inputs=[input_image,model_name,explain_method,sampling_size], outputs=[exp1,exp2,exp3,exp4,exp5]) #
402
+ # with gr.Accordion('Closest Leaves Images'):
403
+ # gr.Markdown("5 closest leaves")
404
  with gr.Accordion("Class Distribution of Closest Samples "):
405
  gr.Markdown("Visualize class distribution of top-k closest samples in our dataset")
406
  with gr.Column():