akash015 commited on
Commit
e2e03e1
·
verified ·
1 Parent(s): 6008cad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
 
1
  from TTS.api import TTS
2
  import gradio as gr
3
  from googletrans import Translator, LANGUAGES
4
 
5
- # Accept the license terms
6
- import os
7
  os.environ["COQUI_TTS_NO_TERMS"] = "true"
8
 
9
  # Load the TTS model once
 
1
+ import os
2
  from TTS.api import TTS
3
  import gradio as gr
4
  from googletrans import Translator, LANGUAGES
5
 
6
+ # Set environment variable to automatically accept the license terms
 
7
  os.environ["COQUI_TTS_NO_TERMS"] = "true"
8
 
9
  # Load the TTS model once