Update handler.py
Browse files- 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=""):
|