Funbi commited on
Commit
89043eb
1 Parent(s): 6aa609e

Create new file

Browse files
Files changed (1) hide show
  1. assets.py +110 -0
assets.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ LANGUAGES = {
2
+ "en": "english",
3
+ "zh": "chinese",
4
+ "de": "german",
5
+ "es": "spanish",
6
+ "ru": "russian",
7
+ "ko": "korean",
8
+ "fr": "french",
9
+ "ja": "japanese",
10
+ "pt": "portuguese",
11
+ "tr": "turkish",
12
+ "pl": "polish",
13
+ "ca": "catalan",
14
+ "nl": "dutch",
15
+ "ar": "arabic",
16
+ "sv": "swedish",
17
+ "it": "italian",
18
+ "id": "indonesian",
19
+ "hi": "hindi",
20
+ "fi": "finnish",
21
+ "vi": "vietnamese",
22
+ "iw": "hebrew",
23
+ "uk": "ukrainian",
24
+ "el": "greek",
25
+ "ms": "malay",
26
+ "cs": "czech",
27
+ "ro": "romanian",
28
+ "da": "danish",
29
+ "hu": "hungarian",
30
+ "ta": "tamil",
31
+ "no": "norwegian",
32
+ "th": "thai",
33
+ "ur": "urdu",
34
+ "hr": "croatian",
35
+ "bg": "bulgarian",
36
+ "lt": "lithuanian",
37
+ "la": "latin",
38
+ "mi": "maori",
39
+ "ml": "malayalam",
40
+ "cy": "welsh",
41
+ "sk": "slovak",
42
+ "te": "telugu",
43
+ "fa": "persian",
44
+ "lv": "latvian",
45
+ "bn": "bengali",
46
+ "sr": "serbian",
47
+ "az": "azerbaijani",
48
+ "sl": "slovenian",
49
+ "kn": "kannada",
50
+ "et": "estonian",
51
+ "mk": "macedonian",
52
+ "br": "breton",
53
+ "eu": "basque",
54
+ "is": "icelandic",
55
+ "hy": "armenian",
56
+ "ne": "nepali",
57
+ "mn": "mongolian",
58
+ "bs": "bosnian",
59
+ "kk": "kazakh",
60
+ "sq": "albanian",
61
+ "sw": "swahili",
62
+ "gl": "galician",
63
+ "mr": "marathi",
64
+ "pa": "punjabi",
65
+ "si": "sinhala",
66
+ "km": "khmer",
67
+ "sn": "shona",
68
+ "yo": "yoruba",
69
+ "so": "somali",
70
+ "af": "afrikaans",
71
+ "oc": "occitan",
72
+ "ka": "georgian",
73
+ "be": "belarusian",
74
+ "tg": "tajik",
75
+ "sd": "sindhi",
76
+ "gu": "gujarati",
77
+ "am": "amharic",
78
+ "yi": "yiddish",
79
+ "lo": "lao",
80
+ "uz": "uzbek",
81
+ "fo": "faroese",
82
+ "ht": "haitian creole",
83
+ "ps": "pashto",
84
+ "tk": "turkmen",
85
+ "nn": "nynorsk",
86
+ "mt": "maltese",
87
+ "sa": "sanskrit",
88
+ "lb": "luxembourgish",
89
+ "my": "myanmar",
90
+ "bo": "tibetan",
91
+ "tl": "tagalog",
92
+ "mg": "malagasy",
93
+ "as": "assamese",
94
+ "tt": "tatar",
95
+ "haw": "hawaiian",
96
+ "ln": "lingala",
97
+ "ha": "hausa",
98
+ "ba": "bashkir",
99
+ "jw": "javanese",
100
+ "su": "sundanese",
101
+ }
102
+
103
+ lang_detect = ['tiny', 'base', 'small', 'medium', 'large']
104
+
105
+ css = """
106
+ #audio_inputs{
107
+ height:100px;
108
+ max-height:100px;
109
+ }
110
+ """