Ben Nguyen commited on
Commit
b460de2
1 Parent(s): 532136d
Files changed (1) hide show
  1. handler.py +3 -0
handler.py CHANGED
@@ -1,9 +1,12 @@
1
  from typing import Dict, List, Any
2
  from comet import load_from_checkpoint
 
3
 
4
 
5
  class EndpointHandler():
6
  def __init__(self, path=""):
 
 
7
  self.model = load_from_checkpoint("model.ckpt")
8
 
9
  def __call__(self, data: Dict[str, Any]) -> List[Any]:
 
1
  from typing import Dict, List, Any
2
  from comet import load_from_checkpoint
3
+ import os
4
 
5
 
6
  class EndpointHandler():
7
  def __init__(self, path=""):
8
+ os.listdir(os.cwd())
9
+
10
  self.model = load_from_checkpoint("model.ckpt")
11
 
12
  def __call__(self, data: Dict[str, Any]) -> List[Any]: