Spaces:
Running
on
T4
Running
on
T4
gorkemgoknar
commited on
Commit
•
19d535a
1
Parent(s):
d6aee2b
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,6 @@ import os
|
|
4 |
import gradio as gr
|
5 |
from TTS.api import TTS
|
6 |
|
7 |
-
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
|
8 |
-
tts.to("cuda")
|
9 |
-
|
10 |
|
11 |
def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
|
12 |
if agree == True:
|
@@ -189,7 +186,7 @@ gr.Interface(
|
|
189 |
gr.Textbox(
|
190 |
label="Text Prompt",
|
191 |
info="One or two sentences at a time is better",
|
192 |
-
value="
|
193 |
),
|
194 |
gr.Dropdown(
|
195 |
label="Language",
|
|
|
4 |
import gradio as gr
|
5 |
from TTS.api import TTS
|
6 |
|
|
|
|
|
|
|
7 |
|
8 |
def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
|
9 |
if agree == True:
|
|
|
186 |
gr.Textbox(
|
187 |
label="Text Prompt",
|
188 |
info="One or two sentences at a time is better",
|
189 |
+
value="Hi there, I'm your new voice clone. Try your best to upload quality audio. Like my grandma used to say: 'Garbage in, garbage out!'",
|
190 |
),
|
191 |
gr.Dropdown(
|
192 |
label="Language",
|