ImAMJayKIM commited on
Commit
6ed05b6
·
verified ·
1 Parent(s): a9b808b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -406,10 +406,10 @@ def create_demo():
406
  classification_summary_output = gr.Textbox(
407
  label="Prediction",
408
  )
409
- confidence_output = gr.Label(
410
- label="Top Prediction Scores",
411
- num_top_classes=top_k,
412
- )
413
  table_output = gr.Dataframe(
414
  headers=["Rank", "Class", "Confidence"],
415
  datatype=["number", "str", "str"],
@@ -426,7 +426,7 @@ def create_demo():
426
  outputs=[
427
  gradcam_output,
428
  classification_summary_output,
429
- confidence_output,
430
  table_output,
431
  ],
432
  )
 
406
  classification_summary_output = gr.Textbox(
407
  label="Prediction",
408
  )
409
+ # confidence_output = gr.Label(
410
+ # label="Top Prediction Scores",
411
+ # num_top_classes=top_k,
412
+ # )
413
  table_output = gr.Dataframe(
414
  headers=["Rank", "Class", "Confidence"],
415
  datatype=["number", "str", "str"],
 
426
  outputs=[
427
  gradcam_output,
428
  classification_summary_output,
429
+ # confidence_output,
430
  table_output,
431
  ],
432
  )