Tonic commited on
Commit
30d9b81
·
1 Parent(s): 583b605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -38
app.py CHANGED
@@ -469,44 +469,44 @@ do [get in touch](https://discord.gg/GWpVpekp). You can also use 😷MultiMed⚕
469
  """
470
 
471
 
472
- languages = [
473
- "English" : "eng",
474
- "Modern Standard Arabic" : "arb",
475
- "Bengali" : "ben",
476
- "Catalan" : "cat",
477
- "Czech" : "ces",
478
- "Mandarin Chinese" : "cmn",
479
- "Welsh" : "cym",
480
- "Danish" : "dan",
481
- "German" : "deu",
482
- "Estonian" : "est",
483
- "Finnish" : "fin",
484
- "French" : "fra",
485
- "Hindi" : "hin",
486
- "Indonesian" : "ind",
487
- "Italian" : "ita",
488
- "Japanese" : "jpn",
489
- "Korean" : "kor",
490
- "Maltese" : "mlt",
491
- "Dutch" : "nld",
492
- "Western Persian" : "pes",
493
- "Polish" : "pol",
494
- "Portuguese" : "por",
495
- "Romanian" : "ron",
496
- "Russian" : "rus",
497
- "Slovak" : "slk",
498
- "Spanish" : "spa",
499
- "Swedish" : "swe",
500
- "Swahili" : "swh",
501
- "Telugu" : "tel",
502
- "Tagalog" : "tgl",
503
- "Thai" : "tha",
504
- "Turkish" : "tur",
505
- "Ukrainian" : "ukr",
506
- "Urdu" : "urd",
507
- "Northern Uzbek" : "uzn",
508
- "Vietnamese" : "vie"
509
- ]
510
 
511
  def clear():
512
  # Return default values for each component
 
469
  """
470
 
471
 
472
+ languages = {
473
+ "English": "eng",
474
+ "Modern Standard Arabic": "arb",
475
+ "Bengali": "ben",
476
+ "Catalan": "cat",
477
+ "Czech": "ces",
478
+ "Mandarin Chinese": "cmn",
479
+ "Welsh": "cym",
480
+ "Danish": "dan",
481
+ "German": "deu",
482
+ "Estonian": "est",
483
+ "Finnish": "fin",
484
+ "French": "fra",
485
+ "Hindi": "hin",
486
+ "Indonesian": "ind",
487
+ "Italian": "ita",
488
+ "Japanese": "jpn",
489
+ "Korean": "kor",
490
+ "Maltese": "mlt",
491
+ "Dutch": "nld",
492
+ "Western Persian": "pes",
493
+ "Polish": "pol",
494
+ "Portuguese": "por",
495
+ "Romanian": "ron",
496
+ "Russian": "rus",
497
+ "Slovak": "slk",
498
+ "Spanish": "spa",
499
+ "Swedish": "swe",
500
+ "Swahili": "swh",
501
+ "Telugu": "tel",
502
+ "Tagalog": "tgl",
503
+ "Thai": "tha",
504
+ "Turkish": "tur",
505
+ "Ukrainian": "ukr",
506
+ "Urdu": "urd",
507
+ "Northern Uzbek": "uzn",
508
+ "Vietnamese": "vie"
509
+ }
510
 
511
  def clear():
512
  # Return default values for each component