celvexgroup commited on
Commit
8a13fa1
·
verified ·
1 Parent(s): 2f0e6aa

Upload benign_mfc_model/benign_script.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. benign_mfc_model/benign_script.py +10 -0
benign_mfc_model/benign_script.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import mlflow
2
+ from mlflow.pyfunc import PythonModel
3
+
4
+
5
+ class Model(PythonModel):
6
+ def predict(self, context, model_input, params=None):
7
+ return model_input
8
+
9
+
10
+ mlflow.models.set_model(Model())