Spaces:
Runtime error
Runtime error
add tts api import
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import tempfile
|
2 |
from typing import Optional
|
3 |
import gradio as gr
|
4 |
-
from engine import TextToSpeech
|
5 |
import subprocess
|
|
|
|
|
6 |
|
7 |
|
8 |
MAX_TXT_LEN = 100
|
|
|
1 |
import tempfile
|
2 |
from typing import Optional
|
3 |
import gradio as gr
|
|
|
4 |
import subprocess
|
5 |
+
import numpy as np
|
6 |
+
from TTS.api import TTS
|
7 |
|
8 |
|
9 |
MAX_TXT_LEN = 100
|