Run batch audio inference with `batch_inference.py`
mainUse batch_inference.py to process multiple synthesis tasks from a CSV file.
Arguments:
--csv_file: Path to the input CSV file.--speaker_prompt_audio_folder: Folder containing the speaker prompt audio files.--output_audio_folder: Folder where the generated.wavfiles will be saved.
CSV File Structure: Your CSV must include these columns:
speaker_prompt_audio_filename: The filename (without extension) of the reference audio in the prompt folder.speaker_prompt_text_transcription: (Optional) Transcription of the reference audio.content_to_synthesize: The text to be synthesized.output_audio_filename: The desired filename (without extension) for the output audio.
python batch_inference.py \
--csv_file ./data/batch_files.csv \
--speaker_prompt_audio_folder ./data \
--output_audio_folder ./results