Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -322,7 +322,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
|
|
| 322 |
return (target_sample_rate, final_wave), spectrogram_path
|
| 323 |
|
| 324 |
@gpu_decorator
|
| 325 |
-
def infer(ref_audio_orig, ref_text, gen_text, exp_name, remove_silence, cross_fade_duration=0.15
|
| 326 |
):
|
| 327 |
|
| 328 |
print(gen_text)
|
|
|
|
| 322 |
return (target_sample_rate, final_wave), spectrogram_path
|
| 323 |
|
| 324 |
@gpu_decorator
|
| 325 |
+
def infer(ref_audio_orig, ref_text, gen_text, exp_name, remove_silence, cross_fade_duration=0.15 # Set the desired language code dynamically
|
| 326 |
):
|
| 327 |
|
| 328 |
print(gen_text)
|