NeonBohdan commited on
Commit
f8e168f
1 Parent(s): 7a2c904

Get languages as phrases keys

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -5,18 +5,14 @@ import gradio as gr
5
  from neon_tts_plugin_coqui import CoquiTTS
6
 
7
 
8
- LANGUAGES = [
9
- "en",
10
- "pl",
11
- "uk",
12
- ]
13
-
14
  language_phrases = {
15
  "en": "Hello, how are you?",
16
  "pl": "Witam, jak się masz?",
17
  "uk": "Привіт, як твої справи?",
18
  }
19
 
 
 
20
 
21
 
22
  title = "🐸💬 - NeonAI Coqui AI TTS Plugin"
 
5
  from neon_tts_plugin_coqui import CoquiTTS
6
 
7
 
 
 
 
 
 
 
8
  language_phrases = {
9
  "en": "Hello, how are you?",
10
  "pl": "Witam, jak się masz?",
11
  "uk": "Привіт, як твої справи?",
12
  }
13
 
14
+ LANGUAGES = list(language_phrases.keys())
15
+
16
 
17
 
18
  title = "🐸💬 - NeonAI Coqui AI TTS Plugin"