Amamrnaf
commited on
Commit
·
d97359f
1
Parent(s):
f8a14a5
yes
Browse files
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["
|
| 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(
|
|
|
|
| 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()
|