Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
cd01a28
1
Parent(s):
775cbf6
Fix
Browse files- audio_index.py +1 -1
audio_index.py
CHANGED
@@ -136,7 +136,7 @@ class AudioEmbeddingSystem:
|
|
136 |
results = []
|
137 |
for i, idx in enumerate(indices[0]):
|
138 |
cursor.execute(
|
139 |
-
"SELECT file_path
|
140 |
(int(idx),),
|
141 |
)
|
142 |
row = cursor.fetchone()
|
|
|
136 |
results = []
|
137 |
for i, idx in enumerate(indices[0]):
|
138 |
cursor.execute(
|
139 |
+
"SELECT file_path FROM audio_files WHERE vector_id = ?",
|
140 |
(int(idx),),
|
141 |
)
|
142 |
row = cursor.fetchone()
|