alexgk commited on
Commit
810f9b5
1 Parent(s): dfc0e6f

Update handler.py

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