Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -7,6 +7,7 @@ from transformers import pipeline
|
|
7 |
import requests
|
8 |
import torch
|
9 |
from io import BytesIO
|
|
|
10 |
|
11 |
class EndpointHandler():
|
12 |
def __init__(self, path=""):
|
|
|
7 |
import requests
|
8 |
import torch
|
9 |
from io import BytesIO
|
10 |
+
import base64
|
11 |
|
12 |
class EndpointHandler():
|
13 |
def __init__(self, path=""):
|