Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from PIL import Image
|
|
5 |
import numpy as np
|
6 |
|
7 |
device = "cpu"
|
8 |
-
model, preprocess = clip.load("
|
9 |
|
10 |
|
11 |
def img_process(img1,img2,location_width,location_height,size_width,size_height):
|
|
|
5 |
import numpy as np
|
6 |
|
7 |
device = "cpu"
|
8 |
+
model, preprocess = clip.load("RN50x64", device=device)
|
9 |
|
10 |
|
11 |
def img_process(img1,img2,location_width,location_height,size_width,size_height):
|