Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,6 @@ import json
|
|
| 7 |
|
| 8 |
from huggingface_hub import snapshot_download
|
| 9 |
from TTS.utils.synthesizer import Synthesizer
|
| 10 |
-
from models import Generator # <-- Make sure this import matches your HiFi-GAN repo
|
| 11 |
|
| 12 |
# Step 1: Download and load Glow-TTS from Hugging Face
|
| 13 |
model_dir = snapshot_download(repo_id="nambn0321/TTS_model")
|
|
|
|
| 7 |
|
| 8 |
from huggingface_hub import snapshot_download
|
| 9 |
from TTS.utils.synthesizer import Synthesizer
|
|
|
|
| 10 |
|
| 11 |
# Step 1: Download and load Glow-TTS from Hugging Face
|
| 12 |
model_dir = snapshot_download(repo_id="nambn0321/TTS_model")
|