hughtayloe commited on
Commit
bd44c39
·
verified ·
1 Parent(s): 946fd3e

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -6,7 +6,7 @@ import requests
6
  class EndpointHandler():
7
  def __init__(self, path=""):
8
  print("init")
9
- # self.pipeline = pipeline("image-to-text", model=path)
10
 
11
  def __call__(self, data: Dict[str, Any]):
12
  totalarr = []
 
6
  class EndpointHandler():
7
  def __init__(self, path=""):
8
  print("init")
9
+ self.pipeline = pipeline("image-to-text", model=path)
10
 
11
  def __call__(self, data: Dict[str, Any]):
12
  totalarr = []