From 89936a4f4131012b42c373b57b01266783663148 Mon Sep 17 00:00:00 2001 From: kadirnar Date: Thu, 28 Nov 2024 22:17:10 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=9F=20Update=20inference=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cb8a07..3a68115 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,7 @@ jobs: # Test model inference print('Running inference...') - audio = model.inference(text, speaker_id=0, speed=1.0) + output_path = 'en-us.wav' + model.tts_to_file(text, speaker_ids['EN-US'], output_path, speed=1.0) print('Inference successful!') "