Spaces:
Runtime error
Runtime error
Commit Β·
0eff579
1
Parent(s): 3783825
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,8 +47,7 @@ def process(audio_file, embed_html_all):
|
|
| 47 |
emb, ts = get_embed(audio_file)
|
| 48 |
ind = get_index()
|
| 49 |
ind_filenames = get_audio_names()
|
| 50 |
-
get_catalog()
|
| 51 |
-
catalog = load_catalog()
|
| 52 |
_, I = do_search(emb, ind)
|
| 53 |
top1, top2, top3, top4, top5 = get_top(I, ind_filenames, catalog)
|
| 54 |
return top1, top2, top3, top4, top5
|
|
|
|
| 47 |
emb, ts = get_embed(audio_file)
|
| 48 |
ind = get_index()
|
| 49 |
ind_filenames = get_audio_names()
|
| 50 |
+
catalog = get_catalog()
|
|
|
|
| 51 |
_, I = do_search(emb, ind)
|
| 52 |
top1, top2, top3, top4, top5 = get_top(I, ind_filenames, catalog)
|
| 53 |
return top1, top2, top3, top4, top5
|