Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ def interrogate(cover):
|
|
| 112 |
return(f"{caption}, {medium} {bests[1][0][0]}, {bests[2][0][0]}, {bests[3][0][0]}, {flaves}")
|
| 113 |
#print(f"{caption} {bests[3][0][0]}, {flaves}")
|
| 114 |
|
| 115 |
-
data_path = "
|
| 116 |
|
| 117 |
artists = load_list(os.path.join(data_path, 'artists.txt'))
|
| 118 |
flavors = load_list(os.path.join(data_path, 'flavors.txt'))
|
|
|
|
| 112 |
return(f"{caption}, {medium} {bests[1][0][0]}, {bests[2][0][0]}, {bests[3][0][0]}, {flaves}")
|
| 113 |
#print(f"{caption} {bests[3][0][0]}, {flaves}")
|
| 114 |
|
| 115 |
+
data_path = "./clip-interrogator/data/"
|
| 116 |
|
| 117 |
artists = load_list(os.path.join(data_path, 'artists.txt'))
|
| 118 |
flavors = load_list(os.path.join(data_path, 'flavors.txt'))
|