pyp1 commited on
Commit
7e27a1d
1 Parent(s): ecf2fd0

reload lfs

Browse files
Files changed (2) hide show
  1. .gitattributes +1 -0
  2. app.py +3 -1
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zip filter=lfs diff=lfs merge=lfs -text
35
  *.zst filter=lfs diff=lfs merge=lfs -text
36
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zip filter=lfs diff=lfs merge=lfs -text
35
  *.zst filter=lfs diff=lfs merge=lfs -text
36
  *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ pretrained_models/encodec_4cb2048_giga.th filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -13,6 +13,8 @@ import random
13
  import uuid
14
  import spaces
15
 
 
 
16
 
17
  DEMO_PATH = os.getenv("DEMO_PATH", "./demo")
18
  TMP_PATH = os.getenv("TMP_PATH", "./demo/temp")
@@ -83,7 +85,7 @@ def load_models(whisper_backend_name, whisper_model_name, alignment_model_name,
83
  elif voicecraft_model_name == "830M":
84
  voicecraft_model_name = "giga830M"
85
  elif voicecraft_model_name == "330M_TTSEnhanced":
86
- voicecraft_model_name = "gigaHalfLibri330M_TTSEnhanced_max16s"
87
  elif voicecraft_model_name == "830M_TTSEnhanced":
88
  voicecraft_model_name = "830M_TTSEnhanced"
89
  if alignment_model_name is not None:
 
13
  import uuid
14
  import spaces
15
 
16
+ import re
17
+ from num2words import num2words
18
 
19
  DEMO_PATH = os.getenv("DEMO_PATH", "./demo")
20
  TMP_PATH = os.getenv("TMP_PATH", "./demo/temp")
 
85
  elif voicecraft_model_name == "830M":
86
  voicecraft_model_name = "giga830M"
87
  elif voicecraft_model_name == "330M_TTSEnhanced":
88
+ voicecraft_model_name = "330M_TTSEnhanced"
89
  elif voicecraft_model_name == "830M_TTSEnhanced":
90
  voicecraft_model_name = "830M_TTSEnhanced"
91
  if alignment_model_name is not None: