medmac01 commited on
Commit
b858a70
·
verified ·
1 Parent(s): 71595d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -5,9 +5,9 @@ from TTS.tts.models.xtts import Xtts
5
  from pathlib import Path
6
  import gradio as gr
7
 
8
- CONFIG_URL = 'https://huggingface.co/medmac01/xtt2_darija_v0.1/resolve/main/config.json'
9
- VOCAB_URL = 'https://huggingface.co/medmac01/xtt2_darija_v0.1/resolve/main/vocab.json'
10
- MODEL_URL = 'https://huggingface.co/medmac01/xtt2_darija_v0.1/resolve/main/model.pth'
11
  SPEAKER_AUDIO_URL = 'https://huggingface.co/medmac01/xtt2_darija_v0.1/resolve/main/speaker_reference.wav'
12
 
13
  base_path = Path(__file__).parent
@@ -63,10 +63,9 @@ markdown_description = """## Instructions:
63
  2. Upload a 4-5 seconds audio file of the speaker you want to clone.
64
  3. Click on the "Generate" button.
65
 
66
- **This space was only possible because of the amazing work done by [OmarSamir](https://huggingface.co/OmarSamir) on the [EGTTS](https://huggingface.co/OmarSamir/EGTTS-V0.1) model.**
67
  """
68
  with gr.Blocks(title="EGTTS") as app:
69
- gr.HTML("<center><h1>Egyptian-Arabic-TTS (EGTTS)</h1></center>")
70
  gr.Markdown(markdown_description)
71
  with gr.Row():
72
  with gr.Column():
 
5
  from pathlib import Path
6
  import gradio as gr
7
 
8
+ CONFIG_URL = 'https://huggingface.co/medmac01/darija_xtt_2.0/resolve/main/config.json'
9
+ VOCAB_URL = 'https://huggingface.co/medmac01/darija_xtt_2.0/resolve/main/vocab.json'
10
+ MODEL_URL = 'https://huggingface.co/medmac01/darija_xtt_2.0/resolve/main/model.pth'
11
  SPEAKER_AUDIO_URL = 'https://huggingface.co/medmac01/xtt2_darija_v0.1/resolve/main/speaker_reference.wav'
12
 
13
  base_path = Path(__file__).parent
 
63
  2. Upload a 4-5 seconds audio file of the speaker you want to clone.
64
  3. Click on the "Generate" button.
65
 
 
66
  """
67
  with gr.Blocks(title="EGTTS") as app:
68
+ gr.HTML("<center><h1>Moroccan-Darija-TTS </h1></center>")
69
  gr.Markdown(markdown_description)
70
  with gr.Row():
71
  with gr.Column():