BasToTheMax commited on
Commit
85653a4
·
1 Parent(s): 82f9906

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import tempfile
5
  api = TTS(model_name="voice_conversion_models/multilingual/vctk/freevc24")
6
 
7
  def greet(source, target):
8
- path = tempfile.NamedTemporaryFile().name
9
 
10
  print("adio", source, target, path)
11
  api.voice_conversion_to_file(source_wav=source, target_wav=target, file_path=path)
 
5
  api = TTS(model_name="voice_conversion_models/multilingual/vctk/freevc24")
6
 
7
  def greet(source, target):
8
+ path = tempfile.NamedTemporaryFile(prefix="bttm_", suffix=".wav").name
9
 
10
  print("adio", source, target, path)
11
  api.voice_conversion_to_file(source_wav=source, target_wav=target, file_path=path)