runaksh commited on
Commit
21daefd
·
1 Parent(s): b5de58b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,7 +14,7 @@ app = FastAPI()
14
  username = "runaksh"
15
  repo_name = "Patientsurvival-model"
16
  repo_path = username+ '/' + repo_name
17
- sentiment_model = pipeline(model= repo_path)
18
 
19
  import pandas as pd
20
 
@@ -27,7 +27,6 @@ recall_metric = prom.Gauge('sentiment_recall_score', 'Recall score for random 10
27
 
28
  # Function for response generation
29
  # Load your trained model
30
- xgb_model_loaded = joblib.load("xgboost-model.pkl")
31
 
32
  def bol_to_int(bol):
33
  if bol==True:
 
14
  username = "runaksh"
15
  repo_name = "Patientsurvival-model"
16
  repo_path = username+ '/' + repo_name
17
+ xgb_model_loaded = joblib.load("xgboost-model.pkl")
18
 
19
  import pandas as pd
20
 
 
27
 
28
  # Function for response generation
29
  # Load your trained model
 
30
 
31
  def bol_to_int(bol):
32
  if bol==True: