Skip to content

Commit

Permalink
update initial worker
Browse files Browse the repository at this point in the history
Signed-off-by: pandyamarut <[email protected]>
  • Loading branch information
pandyamarut committed Sep 17, 2024
1 parent f1d493f commit 0a34ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ def handler(job):
except Exception as e:
return {"status": "error", "message": str(e)}

if __name__ == "__main__":
runpod.serverless.start({"handler": handler})

runpod.serverless.start({"handler": handler})

0 comments on commit 0a34ed8

Please sign in to comment.