Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
-
from coqui_tts import TTS
|
4 |
-
|
5 |
|
6 |
# Load the Coqui TTS model and configuration
|
7 |
model_path = "best_model.pth" # Directory where the model is saved
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
+
from coqui_tts import TTS # Adjust if there are specific classes for Coqui TTS
|
4 |
+
import json
|
5 |
|
6 |
# Load the Coqui TTS model and configuration
|
7 |
model_path = "best_model.pth" # Directory where the model is saved
|