Skip to content

Commit

Permalink
Make the config related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jineet Desai committed Oct 24, 2023
1 parent 0ab5ff8 commit 81ab7a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evadb/executor/create_function_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ def handle_xgboost_function(self):
dataframe=aggregated_batch.frames, label=arg_map["predict"], **settings
)
model_path = os.path.join(
self.db.config.get_value("storage", "model_dir"), self.node.name
self.db.catalog().get_configuration_catalog_value("model_dir"),
self.node.name,
)
pickle.dump(model, open(model_path, "wb"))
self.node.metadata.append(
Expand Down

0 comments on commit 81ab7a3

Please sign in to comment.