Skip to content

Commit d4e0c08

Browse files
authoredOct 24, 2024
Merge pull request #31 from kms7530/feature-selective-load
[Feature] 할당하고 싶은 모델만 선택하여 `Bako` 서비스에 추가
2 parents b2706a7 + 0789d7d commit d4e0c08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎models/vision_language.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,4 +356,4 @@ def infer_with_image(self, prompt: str, image: PILImage) -> str:
356356
image=image,
357357
)
358358

359-
return outputs
359+
return outputs

‎parser/code_parser.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __parse_methods(self, class_node: ast.ClassDef) -> List[Dict]:
8383
for body_item in class_node.body:
8484
if isinstance(body_item, ast.FunctionDef):
8585
method_info = self.__parse_function_signiture(body_item)
86-
method_info["name"] = body_item.name
86+
method_info["name"] = body_item.name
8787

8888
for decorator in body_item.decorator_list:
8989
if decorator_info := self.__extract_decorator(decorator):

0 commit comments

Comments
 (0)