Spaces:
Sleeping
Sleeping
FlyingFish760
commited on
Commit
·
5e363e9
1
Parent(s):
9693537
add confusion matrix
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ fs = project.get_feature_store()
|
|
| 8 |
dataset_api = project.get_dataset_api()
|
| 9 |
|
| 10 |
dataset_api.download("Resources/images/df_recent.png")
|
| 11 |
-
|
| 12 |
|
| 13 |
|
| 14 |
with gr.Blocks() as demo:
|
|
@@ -16,9 +16,9 @@ with gr.Blocks() as demo:
|
|
| 16 |
with gr.Column():
|
| 17 |
gr.Label("Recent Prediction History")
|
| 18 |
input_image = gr.Image("df_recent.png", elem_id="recent-predictions")
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
|
| 23 |
|
| 24 |
demo.launch()
|
|
|
|
| 8 |
dataset_api = project.get_dataset_api()
|
| 9 |
|
| 10 |
dataset_api.download("Resources/images/df_recent.png")
|
| 11 |
+
dataset_api.download("Resources/images/confusion_matrix.png")
|
| 12 |
|
| 13 |
|
| 14 |
with gr.Blocks() as demo:
|
|
|
|
| 16 |
with gr.Column():
|
| 17 |
gr.Label("Recent Prediction History")
|
| 18 |
input_image = gr.Image("df_recent.png", elem_id="recent-predictions")
|
| 19 |
+
with gr.Column():
|
| 20 |
+
gr.Label("Confusion Maxtrix with Historical Prediction Performance")
|
| 21 |
+
input_img = gr.Image("confusion_matrix.png", elem_id="confusion-matrix")
|
| 22 |
|
| 23 |
|
| 24 |
demo.launch()
|