Spaces:
Runtime error
Runtime error
Hope-Liang
commited on
Commit
•
1df9fcf
1
Parent(s):
4cc11f6
update
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ fs = project.get_feature_store()
|
|
7 |
|
8 |
dataset_api = project.get_dataset_api()
|
9 |
|
10 |
-
dataset_api.download("Resources/images-titanic/
|
11 |
-
dataset_api.download("Resources/images-titanic/
|
12 |
dataset_api.download("Resources/images-titanic/df_recent.png")
|
13 |
dataset_api.download("Resources/images-titanic/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 |
-
input_img = gr.Image("
|
20 |
with gr.Column():
|
21 |
gr.Label("Today's Actual Image")
|
22 |
-
input_img = gr.Image("
|
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-titanic/latest_survival.png")
|
11 |
+
dataset_api.download("Resources/images-titanic/actual_survival.png")
|
12 |
dataset_api.download("Resources/images-titanic/df_recent.png")
|
13 |
dataset_api.download("Resources/images-titanic/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_survival.png", elem_id="predicted-img")
|
20 |
with gr.Column():
|
21 |
gr.Label("Today's Actual Image")
|
22 |
+
input_img = gr.Image("actual_survival.png", elem_id="actual-img")
|
23 |
with gr.Row():
|
24 |
with gr.Column():
|
25 |
gr.Label("Recent Prediction History")
|