Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import clip
|
|
4 |
import torch
|
5 |
from PIL import Image
|
6 |
import base64
|
|
|
7 |
|
8 |
# Load the CLIP model
|
9 |
model, preprocess = clip.load("ViT-B/32")
|
|
|
4 |
import torch
|
5 |
from PIL import Image
|
6 |
import base64
|
7 |
+
from io import BytesIO
|
8 |
|
9 |
# Load the CLIP model
|
10 |
model, preprocess = clip.load("ViT-B/32")
|