Core23 commited on
Commit
cd1fa6f
·
1 Parent(s): 1e1e9ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -197,10 +197,6 @@ print(f"load {g_pth}")
197
  _ = utils.load_checkpoint(g_pth, net_g, None)
198
 
199
 
200
- If you want to use the original text-to-speech code in place of the gTTS library within the inference function, you should move the original text-to-speech code into the inference function, and adjust the function to save the generated audio to a file and return the file path. Here's how you might do it:
201
-
202
- python
203
- Copy code
204
  import torch
205
  from scipy.io.wavfile import write
206
 
 
197
  _ = utils.load_checkpoint(g_pth, net_g, None)
198
 
199
 
 
 
 
 
200
  import torch
201
  from scipy.io.wavfile import write
202