Vijish commited on
Commit
2a1fcd5
·
verified ·
1 Parent(s): 24c9b04

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -1
handler.py CHANGED
@@ -42,4 +42,5 @@ class EndpointHandler:
42
  else:
43
  raise ValueError("Invalid JSON structure")
44
 
45
- handler = EndpointHandler()
 
 
42
  else:
43
  raise ValueError("Invalid JSON structure")
44
 
45
+ if __name__ == "__main__":
46
+ handler = EndpointHandler()