Spaces:
Running
Running
Ruslan Magana Vsevolodovna
commited on
Commit
·
e36bae7
1
Parent(s):
d2a32dc
Update app.py
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ def greet(Text,Voicetoclone):
|
|
211 |
else:
|
212 |
print(f'{env_var} does not exist')
|
213 |
#os.system(f'ffmpeg-normalize {os.environ[env_var]} -nt rms -t=-27 -o {os.environ[env_var]} -ar 16000 -f')
|
214 |
-
in_fpath = Path(
|
215 |
#in_fpath= in_fpath.replace("\"", "").replace("\'", "")
|
216 |
|
217 |
out_path=clone_voice(in_fpath, text,synthesizer)
|
@@ -242,8 +242,8 @@ demo = gr.Interface(
|
|
242 |
</div>''',
|
243 |
|
244 |
examples = [
|
245 |
-
["I am the cloned version of Donald Trump.Well,
|
246 |
-
|
247 |
]
|
248 |
|
249 |
|
|
|
211 |
else:
|
212 |
print(f'{env_var} does not exist')
|
213 |
#os.system(f'ffmpeg-normalize {os.environ[env_var]} -nt rms -t=-27 -o {os.environ[env_var]} -ar 16000 -f')
|
214 |
+
in_fpath = Path(Voicetoclone)
|
215 |
#in_fpath= in_fpath.replace("\"", "").replace("\'", "")
|
216 |
|
217 |
out_path=clone_voice(in_fpath, text,synthesizer)
|
|
|
242 |
</div>''',
|
243 |
|
244 |
examples = [
|
245 |
+
["I am the cloned version of Donald Trump.Well, I think what's happening to this country is unbelievably bad. We're no longer a respected country" ,"trump.mp3"]
|
246 |
+
|
247 |
]
|
248 |
|
249 |
|