Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from xgboost import XGBClassifier
|
|
5 |
import pandas as pd
|
6 |
import numpy as np
|
7 |
|
8 |
-
# Load your trained model
|
9 |
xgb_model_loaded = joblib.load("xgboost-model.pkl")
|
10 |
|
11 |
def bol_to_int(bol):
|
@@ -54,4 +54,4 @@ iface = gradio.Interface(fn = predict_death_event,
|
|
54 |
description = description)
|
55 |
|
56 |
#iface.launch(debug=True)
|
57 |
-
iface.launch(server_name = "0.0.0.0", server_port = 8001) # Ref. for parameters: https://www.gradio.app/docs/interface
|
|
|
5 |
import pandas as pd
|
6 |
import numpy as np
|
7 |
|
8 |
+
# Load your trained model
|
9 |
xgb_model_loaded = joblib.load("xgboost-model.pkl")
|
10 |
|
11 |
def bol_to_int(bol):
|
|
|
54 |
description = description)
|
55 |
|
56 |
#iface.launch(debug=True)
|
57 |
+
iface.launch(server_name = "0.0.0.0", server_port = 8001) # Ref. for parameters: https://www.gradio.app/docs/interface
|