rutsam commited on
Commit
84f4ed8
·
1 Parent(s): 287b0f4

add tts api import

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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