Haaribo commited on
Commit
7abe579
·
verified ·
1 Parent(s): 0df2aff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ with gr.Blocks() as demo:
26
 
27
  # 模式1界面
28
  with gr.Column(visible=False) as mode1_ui:
29
- gr.Markdown("### interpretebale Result")
30
  mode1_button = gr.Button("get interpretable Classification")
31
  mode1_input_img=gr.Image()
32
  mode1_output_img= gr.Image()
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
42
 
43
  # 模式2界面
44
  with gr.Column(visible=False) as mode2_ui:
45
- gr.Markdown("### These are some class explanations from our model for different classes,which of these classes has our model predicted?")
46
  image_input=gr.Image()
47
  gallery_output = gr.Gallery(label="Initial Label")
48
  text_output=gr.Markdown()
 
26
 
27
  # 模式1界面
28
  with gr.Column(visible=False) as mode1_ui:
29
+ gr.Markdown("### Please keep the object in the center of your image, click the Button to get interpretebale Result")
30
  mode1_button = gr.Button("get interpretable Classification")
31
  mode1_input_img=gr.Image()
32
  mode1_output_img= gr.Image()
 
42
 
43
  # 模式2界面
44
  with gr.Column(visible=False) as mode2_ui:
45
+ gr.Markdown("### Please keep the object in the center of your image, click the Button 'Get some interpretable Features' to get options")
46
  image_input=gr.Image()
47
  gallery_output = gr.Gallery(label="Initial Label")
48
  text_output=gr.Markdown()