Update app.py
Browse files
app.py
CHANGED
|
@@ -221,7 +221,7 @@ def clone_voice(target_audio_path, reference_audio_path, target_lang, gender="Ma
|
|
| 221 |
|
| 222 |
print("Cloning Voice")
|
| 223 |
# Convert the tone color of a single audio file
|
| 224 |
-
tune_one(input_file=
|
| 225 |
|
| 226 |
return output_file
|
| 227 |
|
|
|
|
| 221 |
|
| 222 |
print("Cloning Voice")
|
| 223 |
# Convert the tone color of a single audio file
|
| 224 |
+
tune_one(input_file=target_audio_path, ref_file=ref_file, output_file=output_file, device=device)
|
| 225 |
|
| 226 |
return output_file
|
| 227 |
|