From 0a34ed857471c061090add6f3c04fd9cf5a51b0d Mon Sep 17 00:00:00 2001 From: pandyamarut Date: Tue, 17 Sep 2024 00:32:06 -0700 Subject: [PATCH] update initial worker Signed-off-by: pandyamarut --- src/handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler.py b/src/handler.py index 757a8a5..8c55fa1 100644 --- a/src/handler.py +++ b/src/handler.py @@ -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}) \ No newline at end of file + +runpod.serverless.start({"handler": handler}) \ No newline at end of file