nandovallec commited on
Commit
a00723d
1 Parent(s): 280f723

Fix img name

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -7,10 +7,10 @@ fs = project.get_feature_store()
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
 
15
  with gr.Blocks() as demo:
16
  with gr.Row():
@@ -23,9 +23,9 @@ with gr.Blocks() as demo:
23
  with gr.Row():
24
  with gr.Column():
25
  gr.Label("Recent Prediction History")
26
- input_img = gr.Image("df_recent.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.png", elem_id="confusion-matrix")
30
 
31
  demo.launch()
 
7
 
8
  dataset_api = project.get_dataset_api()
9
 
10
+ dataset_api.download("Resources/images/latest_iris.png", overwrite="True")
11
+ dataset_api.download("Resources/images/actual_iris.png", overwrite="True")
12
+ dataset_api.download("Resources/images/df_recent_iris.png", overwrite="True")
13
+ dataset_api.download("Resources/images/confusion_matrix_iris.png", overwrite="True")
14
 
15
  with gr.Blocks() as demo:
16
  with gr.Row():
 
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()