freddyaboulton HF Staff commited on
Commit
b3948c4
·
1 Parent(s): 5906e88
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -5,10 +5,14 @@ from search import search
5
  import pandas as pd
6
 
7
  db_file = hf_hub_download(
8
- repo_id="freddyaboulton/common-voice-english-audio", filename="audio_db.sqlite"
 
 
9
  )
10
  index_file = hf_hub_download(
11
- repo_id="freddyaboulton/common-voice-english-audio", filename="audio_faiss.index"
 
 
12
  )
13
 
14
  audio_embedding_system = AudioEmbeddingSystem(db_path=db_file, index_path=index_file)
 
5
  import pandas as pd
6
 
7
  db_file = hf_hub_download(
8
+ repo_id="freddyaboulton/common-voice-english-audio",
9
+ filename="audio_db.sqlite",
10
+ repo_type="dataset",
11
  )
12
  index_file = hf_hub_download(
13
+ repo_id="freddyaboulton/common-voice-english-audio",
14
+ filename="audio_faiss.index",
15
+ repo_type="dataset",
16
  )
17
 
18
  audio_embedding_system = AudioEmbeddingSystem(db_path=db_file, index_path=index_file)