Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ login(token=auth_token)
|
|
| 11 |
|
| 12 |
# list all files in the ./audios directory for the dropdown
|
| 13 |
AUDIO_FILES = [f for f in os.listdir('./exples_voix') if os.path.isfile(os.path.join('./exples_voix', f))]
|
| 14 |
-
MODELES_TTS = ["ArissBandoss/coqui-tts-moore-V1", "ArissBandoss/mms-tts-mos-V2"]
|
| 15 |
MODELES_ASR = ["ArissBandoss/whisper-small-mos", "ArissBandoss/whisper-large-v3-turbo-mos"]
|
| 16 |
LANGUAGES = ["Automatic Detection"]
|
| 17 |
|
|
@@ -86,7 +86,7 @@ goai_ttt_tts_pipeline_if = gr.Interface(
|
|
| 86 |
gr.Dropdown(
|
| 87 |
label="Modèles de TTS",
|
| 88 |
choices=MODELES_TTS,
|
| 89 |
-
value="ArissBandoss/coqui-tts-moore-
|
| 90 |
),
|
| 91 |
gr.Dropdown(
|
| 92 |
label="Voix",
|
|
|
|
| 11 |
|
| 12 |
# list all files in the ./audios directory for the dropdown
|
| 13 |
AUDIO_FILES = [f for f in os.listdir('./exples_voix') if os.path.isfile(os.path.join('./exples_voix', f))]
|
| 14 |
+
MODELES_TTS = ["ArissBandoss/coqui-tts-moore-V1", "ArissBandoss/coqui-tts-moore-V3", "ArissBandoss/mms-tts-mos-V2"]
|
| 15 |
MODELES_ASR = ["ArissBandoss/whisper-small-mos", "ArissBandoss/whisper-large-v3-turbo-mos"]
|
| 16 |
LANGUAGES = ["Automatic Detection"]
|
| 17 |
|
|
|
|
| 86 |
gr.Dropdown(
|
| 87 |
label="Modèles de TTS",
|
| 88 |
choices=MODELES_TTS,
|
| 89 |
+
value="ArissBandoss/coqui-tts-moore-V3"
|
| 90 |
),
|
| 91 |
gr.Dropdown(
|
| 92 |
label="Voix",
|