Skip to content

Commit

Permalink
Merge pull request #3 from simrantan/main
Browse files Browse the repository at this point in the history
Update service.py
  • Loading branch information
GemmaTuron authored Jul 6, 2023
2 parents 5c8ff51 + 70326fe commit f3086ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def calc(self, mol):
@artifacts([JSONArtifact("model")])
class Service(BentoService):
@api(input=JsonInput(), batch=True)
def calculate(self, input: List[JsonSerializable]):
def run(self, input: List[JsonSerializable]):
desc = Descriptor()
input = input[0]
output = []
Expand Down

0 comments on commit f3086ec

Please sign in to comment.