pierrelf commited on
Commit
787a96f
·
1 Parent(s): b1ee544

Update wine prediction demo with new confusion

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -9,7 +9,7 @@ dataset_api = project.get_dataset_api()
9
  dataset_api.download("Resources/images/latest_wine.png")
10
  dataset_api.download("Resources/images/actual_wine.png")
11
  dataset_api.download("Resources/images/df_recent_wine.png")
12
- # dataset_api.download("Resources/images/confusion_matrix.png")
13
 
14
  with gr.Blocks() as demo:
15
  with gr.Row():
@@ -23,8 +23,8 @@ with gr.Blocks() as demo:
23
  with gr.Column():
24
  gr.Label("Recent Prediction History")
25
  input_img = gr.Image("df_recent_wine.png", elem_id="recent-predictions")
26
- # with gr.Column():
27
- # gr.Label("Confusion Maxtrix with Historical Prediction Performance")
28
- # input_img = gr.Image("confusion_matrix.png", elem_id="confusion-matrix")
29
 
30
  demo.launch()
 
9
  dataset_api.download("Resources/images/latest_wine.png")
10
  dataset_api.download("Resources/images/actual_wine.png")
11
  dataset_api.download("Resources/images/df_recent_wine.png")
12
+ dataset_api.download("Resources/images/confusion_matrix_wine.png")
13
 
14
  with gr.Blocks() as demo:
15
  with gr.Row():
 
23
  with gr.Column():
24
  gr.Label("Recent Prediction History")
25
  input_img = gr.Image("df_recent_wine.png", elem_id="recent-predictions")
26
+ with gr.Column():
27
+ gr.Label("Confusion Maxtrix with Historical Prediction Performance")
28
+ input_img = gr.Image("confusion_matrix_wine.png", elem_id="confusion-matrix")
29
 
30
  demo.launch()