Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ from PIL import Image
|
|
5 |
import numpy as np
|
6 |
|
7 |
|
8 |
-
def upload_image():
|
9 |
-
url = 'https://examples.onelinerhub.com/heroine.png'
|
10 |
model = SentenceTransformer('clip-ViT-B-32')
|
11 |
#response = requests.get(url)
|
12 |
np.set_printoptions(suppress=True)
|
|
|
5 |
import numpy as np
|
6 |
|
7 |
|
8 |
+
def upload_image(url):
|
9 |
+
#url = 'https://examples.onelinerhub.com/heroine.png'
|
10 |
model = SentenceTransformer('clip-ViT-B-32')
|
11 |
#response = requests.get(url)
|
12 |
np.set_printoptions(suppress=True)
|