Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Mar 16, 2024
1 parent 8534ef9 commit 048e820
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def get_model_instance(self, model_type: ModelType) -> AIModel:
parent_module = '.'.join(self.__class__.__module__.split('.')[:-1])
mod = load_module_from_source(
f"{parent_module}.{model_type_name}.{model_type_name}", model_type_py_path)

classes = get_subclasses(mod, AIModel)
model_class = None
for obj in classes:
Expand Down

0 comments on commit 048e820

Please sign in to comment.