Spaces:
Sleeping
Sleeping
mnh
commited on
Commit
·
95a4080
1
Parent(s):
8392124
hello
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ model, preprocess = clip.load("ViT-B/32", device=device)
|
|
8 |
|
9 |
|
10 |
def predict(image):
|
11 |
-
labels = "Japanese, Chinese, Roman, Greek, Etruscan, Scandinavian, Celtic, Medieval, Victorian, Neoclassic, Romanticism, Art Nouveau, Art deco
|
12 |
labels = labels.split(',')
|
13 |
|
14 |
converter = ImageEnhance.Color(image)
|
|
|
8 |
|
9 |
|
10 |
def predict(image):
|
11 |
+
labels = "Japanese, Chinese, Roman, Greek, Etruscan, Scandinavian, Celtic, Medieval, Victorian, Neoclassic, Romanticism, Art Nouveau, Art deco"
|
12 |
labels = labels.split(',')
|
13 |
|
14 |
converter = ImageEnhance.Color(image)
|