Spaces:
Runtime error
Runtime error
make ipa the first in the dropdown
Browse files
app.py
CHANGED
@@ -10,12 +10,13 @@ from collections import defaultdict
|
|
10 |
def get_supported_codes():
|
11 |
model = read_recognizer()
|
12 |
supported_codes = []
|
|
|
13 |
for combo in combinations(string.ascii_lowercase, 3):
|
14 |
code = "".join(combo)
|
15 |
if model.is_available(code):
|
16 |
supported_codes.append(code)
|
17 |
|
18 |
-
|
19 |
return supported_codes
|
20 |
|
21 |
|
|
|
10 |
def get_supported_codes():
|
11 |
model = read_recognizer()
|
12 |
supported_codes = []
|
13 |
+
supported_codes.append("ipa") # default option
|
14 |
for combo in combinations(string.ascii_lowercase, 3):
|
15 |
code = "".join(combo)
|
16 |
if model.is_available(code):
|
17 |
supported_codes.append(code)
|
18 |
|
19 |
+
|
20 |
return supported_codes
|
21 |
|
22 |
|