Pipe1213 commited on
Commit
0ebf05c
1 Parent(s): 06435a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -18,7 +18,7 @@ from text.symbols_pho import symbols_pho
18
  from scipy.io.wavfile import write
19
  from text import cleaners
20
 
21
- # Define a dictionary to store the model paths and corresponding symbols
22
  model_configs = {
23
  "Phonemes_finetuned": {
24
  "path": "fr_wa_finetuned_pho/G_125000.pth",
@@ -30,7 +30,7 @@ model_configs = {
30
  }
31
  }
32
 
33
- # Global variables to store the current model and symbols
34
  net_g = None
35
  symbols = []
36
  _symbol_to_id = {}
@@ -115,8 +115,8 @@ with app:
115
  To try the version trained in graphemes follow the link below:
116
  https://huggingface.co/spaces/Pipe1213/VITS_Walloon_Graphemes
117
 
118
- ## Hint: Some sample texts are available at the bottom of the web site.
119
- ## Hint: For faster inference speed it is recommended to use short sentences.
120
  """
121
  )
122
  with gr.Tabs():
@@ -134,6 +134,4 @@ with app:
134
  """
135
  )
136
 
137
- app.launch()
138
-
139
-
 
18
  from scipy.io.wavfile import write
19
  from text import cleaners
20
 
21
+
22
  model_configs = {
23
  "Phonemes_finetuned": {
24
  "path": "fr_wa_finetuned_pho/G_125000.pth",
 
30
  }
31
  }
32
 
33
+ # Global variables
34
  net_g = None
35
  symbols = []
36
  _symbol_to_id = {}
 
115
  To try the version trained in graphemes follow the link below:
116
  https://huggingface.co/spaces/Pipe1213/VITS_Walloon_Graphemes
117
 
118
+ ### Hint: Some sample texts are available at the bottom of the web site.
119
+ ### Hint: For faster inference speed it is recommended to use short sentences.
120
  """
121
  )
122
  with gr.Tabs():
 
134
  """
135
  )
136
 
137
+ app.launch()