Ionutvp commited on
Commit
ac443d5
·
1 Parent(s): b970c10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)