Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -2,6 +2,7 @@ import requests
|
|
2 |
from typing import Dict, Any
|
3 |
from PIL import Image
|
4 |
import torch
|
|
|
5 |
from io import BytesIO
|
6 |
from transformers import BlipForConditionalGeneration, BlipProcessor
|
7 |
|
|
|
2 |
from typing import Dict, Any
|
3 |
from PIL import Image
|
4 |
import torch
|
5 |
+
import base64
|
6 |
from io import BytesIO
|
7 |
from transformers import BlipForConditionalGeneration, BlipProcessor
|
8 |
|