ekwek commited on
Commit
6301f82
·
verified ·
1 Parent(s): fa7f144

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def load_model():
29
  SAMPLE_RATE = 32000
30
 
31
  @spaces.GPU
32
- def tts(text: str, temperature: float = 0.3, top_p: float = 0.95, repetition_penalty: float = 1.2) -> Tuple:
33
  """
34
  Runs Soprano text-to-speech model with the given input text and sampling parameters.
35
 
 
29
  SAMPLE_RATE = 32000
30
 
31
  @spaces.GPU
32
+ def tts(text: str, temperature: float = 0.3, top_p: float = 0.95, repetition_penalty: float = 1.2) -> tuple[int, np.ndarray]:
33
  """
34
  Runs Soprano text-to-speech model with the given input text and sampling parameters.
35