Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
| 411 |
-
|
| 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 |
)
|