Thomasboosinger commited on
Commit
9ba309e
1 Parent(s): d0d94dc

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +4 -1
handler.py CHANGED
@@ -1,5 +1,8 @@
1
- from transformers import pipeline
2
  from typing import Dict, List, Any
 
 
 
 
3
 
4
  class EndpointHandler():
5
  def __init__(self, path=""):
 
 
1
  from typing import Dict, List, Any
2
+ from PIL import Image
3
+ from io import BytesIO
4
+ from transformers import pipeline
5
+ import base64
6
 
7
  class EndpointHandler():
8
  def __init__(self, path=""):