Update template_gradio_interface.py
Browse files
template_gradio_interface.py
CHANGED
@@ -18,6 +18,9 @@ import shap
|
|
18 |
from utils import predict, unpickle_file, scale_numerical, encode_categorical
|
19 |
|
20 |
|
|
|
|
|
|
|
21 |
def call_predict(inference_dict, cols_order):
|
22 |
"""
|
23 |
Encapsulates the predict function from utils to pass the config, and to put the data in the right format
|
|
|
18 |
from utils import predict, unpickle_file, scale_numerical, encode_categorical
|
19 |
|
20 |
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
def call_predict(inference_dict, cols_order):
|
25 |
"""
|
26 |
Encapsulates the predict function from utils to pass the config, and to put the data in the right format
|