Beladiaamy commited on
Commit
8e6acc8
·
verified ·
1 Parent(s): 15d7e8e

CDC.app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #import the libraries for this app
2
+ import pickle
3
+ import pandas as pd
4
+ import shapfrom shap.plots._force_matplot import draw_additive_plot
5
+ import gradio as gr
6
+ import numpy as np
7
+ import matplotlib.py as plt
8
+
9
+
10
+ loaded_model =
11
+
12
+ explainer = shap.Explainer(loaded_model)
13
+
14
+ #Create the main function for server