Amamrnaf commited on
Commit
d97359f
·
1 Parent(s): f8a14a5
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import os
3
  from coqui_tts import run_audio_generation_v1
4
  import shutil
5
- os.environ["COQUI_LICENSE"] = "1" # Automatically agrees to the non-commercial license
6
 
7
  def process_audio(input_text, speaker_audio, speaker_name, option_selected):
8
  try:
@@ -61,4 +61,4 @@ with gr.Blocks() as demo:
61
  )
62
 
63
  # Launch the Gradio app
64
- demo.launch(share=True)
 
2
  import os
3
  from coqui_tts import run_audio_generation_v1
4
  import shutil
5
+ os.environ["COQUI_TOS_AGREED"] = "1"
6
 
7
  def process_audio(input_text, speaker_audio, speaker_name, option_selected):
8
  try:
 
61
  )
62
 
63
  # Launch the Gradio app
64
+ demo.launch()