Update README.md
Browse files
README.md
CHANGED
|
@@ -48,16 +48,7 @@ pip install git+https://github.com/coqui-ai/TTS@dev#egg=TTS
|
|
| 48 |
|
| 49 |
Synthesize a speech using python:
|
| 50 |
|
| 51 |
-
```
|
| 52 |
-
import tempfile
|
| 53 |
-
import gradio as gr
|
| 54 |
-
import numpy as np
|
| 55 |
-
import os
|
| 56 |
-
import json
|
| 57 |
-
|
| 58 |
-
from typing import Optional
|
| 59 |
-
from TTS.config import load_config
|
| 60 |
-
from TTS.utils.manage import ModelManager
|
| 61 |
from TTS.utils.synthesizer import Synthesizer
|
| 62 |
|
| 63 |
model_path = # Absolute path to the model checkpoint.pth
|
|
|
|
| 48 |
|
| 49 |
Synthesize a speech using python:
|
| 50 |
|
| 51 |
+
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
from TTS.utils.synthesizer import Synthesizer
|
| 53 |
|
| 54 |
model_path = # Absolute path to the model checkpoint.pth
|