Skip to content

Commit

Permalink
fix: reset result
Browse files Browse the repository at this point in the history
  • Loading branch information
ispirtraian committed Apr 22, 2024
1 parent bf2c9ac commit 0966d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/serving/serving_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def _predict_job (self, model_type: str, input, params:dict = None):
self.P (f"Saving {no_tasks} ...")

for tndx in range(no_tasks):
result = None
taskid = uuid.uuid4().hex
if (tndx == 0 and not self.__available) or tndx > 0 :
#if current insance is unavailable, or need to split job - save input to file
Expand Down

0 comments on commit 0966d48

Please sign in to comment.