Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from tensorflow.keras.models import load_model
|
|
| 6 |
import os
|
| 7 |
|
| 8 |
# Load the pre-trained model from the local directory
|
| 9 |
-
model_path = './
|
| 10 |
model = load_model(model_path)
|
| 11 |
|
| 12 |
# Initialize the g2p model for converting text to phonemes
|
|
|
|
| 6 |
import os
|
| 7 |
|
| 8 |
# Load the pre-trained model from the local directory
|
| 9 |
+
model_path = './audio_model.h5'
|
| 10 |
model = load_model(model_path)
|
| 11 |
|
| 12 |
# Initialize the g2p model for converting text to phonemes
|