Spaces:
Runtime error
Runtime error
renesteeman
commited on
Commit
•
db2f3c4
1
Parent(s):
a330b2d
testing image fix
Browse files- Resources/images/actual_iris.png +0 -0
- Resources/images/df_recent.png +0 -0
- Resources/images/latest_iris.png +0 -0
- app.py +4 -4
Resources/images/actual_iris.png
ADDED
Resources/images/df_recent.png
ADDED
Resources/images/latest_iris.png
ADDED
app.py
CHANGED
@@ -7,8 +7,8 @@ fs = project.get_feature_store()
|
|
7 |
|
8 |
dataset_api = project.get_dataset_api()
|
9 |
|
10 |
-
|
11 |
-
|
12 |
dataset_api.download("Resources/images/df_recent.png")
|
13 |
dataset_api.download("Resources/images/confusion_matrix.png")
|
14 |
|
@@ -16,10 +16,10 @@ with gr.Blocks() as demo:
|
|
16 |
with gr.Row():
|
17 |
with gr.Column():
|
18 |
gr.Label("Today's Predicted Image")
|
19 |
-
|
20 |
with gr.Column():
|
21 |
gr.Label("Today's Actual Image")
|
22 |
-
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
gr.Label("Recent Prediction History")
|
|
|
7 |
|
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/df_recent.png")
|
13 |
dataset_api.download("Resources/images/confusion_matrix.png")
|
14 |
|
|
|
16 |
with gr.Row():
|
17 |
with gr.Column():
|
18 |
gr.Label("Today's Predicted Image")
|
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")
|