Spaces:
Runtime error
Runtime error
renesteeman
commited on
Commit
•
30f535f
1
Parent(s):
db2f3c4
Upload app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ dataset_api = project.get_dataset_api()
|
|
9 |
|
10 |
dataset_api.download("Resources/images/latest_iris.png")
|
11 |
dataset_api.download("Resources/images/actual_iris.png")
|
12 |
-
dataset_api.download("Resources/images/
|
13 |
-
dataset_api.download("Resources/images/
|
14 |
|
15 |
with gr.Blocks() as demo:
|
16 |
with gr.Row():
|
@@ -19,13 +19,13 @@ with gr.Blocks() as demo:
|
|
19 |
input_img = gr.Image("latest_iris.png", elem_id="predicted-img")
|
20 |
with gr.Column():
|
21 |
gr.Label("Today's Actual Image")
|
22 |
-
input_img = gr.Image("actual_iris.png", elem_id="actual-img")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
gr.Label("Recent Prediction History")
|
26 |
-
input_img = gr.Image("
|
27 |
with gr.Column():
|
28 |
gr.Label("Confusion Maxtrix with Historical Prediction Performance")
|
29 |
-
input_img = gr.Image("
|
30 |
|
31 |
demo.launch()
|
|
|
9 |
|
10 |
dataset_api.download("Resources/images/latest_iris.png")
|
11 |
dataset_api.download("Resources/images/actual_iris.png")
|
12 |
+
dataset_api.download("Resources/images/df_recent_iris.png")
|
13 |
+
dataset_api.download("Resources/images/confusion_matrix_iris.png")
|
14 |
|
15 |
with gr.Blocks() as demo:
|
16 |
with gr.Row():
|
|
|
19 |
input_img = gr.Image("latest_iris.png", elem_id="predicted-img")
|
20 |
with gr.Column():
|
21 |
gr.Label("Today's Actual Image")
|
22 |
+
input_img = gr.Image("actual_iris.png", elem_id="actual-img")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
gr.Label("Recent Prediction History")
|
26 |
+
input_img = gr.Image("df_recent_iris.png", elem_id="recent-predictions")
|
27 |
with gr.Column():
|
28 |
gr.Label("Confusion Maxtrix with Historical Prediction Performance")
|
29 |
+
input_img = gr.Image("confusion_matrix_iris.png", elem_id="confusion-matrix")
|
30 |
|
31 |
demo.launch()
|