sooh-j commited on
Commit
042fc02
1 Parent(s): 4e535be

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -6,6 +6,7 @@ from PIL import Image
6
  from transformers import pipeline
7
  import requests
8
  import torch
 
9
 
10
  class EndpointHandler():
11
  def __init__(self, path=""):
 
6
  from transformers import pipeline
7
  import requests
8
  import torch
9
+ from io import BytesIO
10
 
11
  class EndpointHandler():
12
  def __init__(self, path=""):