Spaces:
Sleeping
Sleeping
txya900619
commited on
Commit
•
5740c9e
1
Parent(s):
3b6864b
feat: update g2p url (use public repo)
Browse files- configs/g2p.yaml +1 -1
- ipa/__init__.py +1 -2
configs/g2p.yaml
CHANGED
@@ -1 +1 @@
|
|
1 |
-
g2p: ${load_g2p:${gh_download:FormoSpeech/
|
|
|
1 |
+
g2p: ${load_g2p:${gh_download:FormoSpeech/FormoG2P, formosan/g2p.csv}}
|
ipa/__init__.py
CHANGED
@@ -23,9 +23,8 @@ EXTRA_G2P = {
|
|
23 |
}
|
24 |
|
25 |
|
26 |
-
def gh_download(repo, path
|
27 |
headers = {
|
28 |
-
"Authorization": f"Bearer {token}",
|
29 |
"Accept": "application/vnd.github.raw+json",
|
30 |
}
|
31 |
|
|
|
23 |
}
|
24 |
|
25 |
|
26 |
+
def gh_download(repo, path):
|
27 |
headers = {
|
|
|
28 |
"Accept": "application/vnd.github.raw+json",
|
29 |
}
|
30 |
|