Spaces:
Runtime error
Runtime error
Update app.py
Browse files44 unmodified lines45464748495051525354555657585944 unmodified linesreturn process(input_path, '')[1:]def process(audio_file, embed_html_all):emb, ts = get_embed(audio_file)ind = get_index()ind_filenames = get_audio_names()catalog = get_catalog()url_dict = get_durl_myma()_, I = do_search(emb, ind)top1, top2, top3, top4, top5, top6, top7, top8, top9, top10 = get_top(I, ind_filenames, url_dict, catalog)return embed_html_all, top1, top2, top3, top4, top5, top6, top7, top8, top9, top10poc_examples = [["https://www.youtube.com/watch?v=aNzCDt2eidg"]]44 unmodified lines45464748495051525354555657585960616244 unmodified linesreturn process(input_path, '')[1:]def process(audio_file, embed_html_all):try :emb, ts = get_embed(audio_file)ind = get_index()ind_filenames = get_audio_names()catalog = get_catalog()url_dict = get_durl_myma()_, I = do_search(emb, ind)top1, top2, top3, top4, top5, top6, top7, top8, top9, top10 = get_top(I, ind_filenames, url_dict, catalog)return embed_html_all, top1, top2, top3, top4, top5, top6, top7, top8, top9, top10except:return embed_html_all, "", "", "", "", "", "", "", "", "", ""poc_examples = [["https://www.youtube.com/watch?v=aNzCDt2eidg"]]
app.py+12-9