Skip to content

Commit 5bddc9a

Browse files
committed
Update app.py
1 parent 817137c commit 5bddc9a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

ttsfm-web/app.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,9 @@ def generate_speech_combined():
656656
return jsonify({"error": "Invalid voice or format specified"}), 400
657657

658658
logger.info(
659-
f"Generating combined speech for long text: {
660-
len(text)} characters, splitting into chunks")
659+
"Generating combined speech for long text: %s characters, splitting into chunks",
660+
len(text),
661+
)
661662

662663
# Generate speech chunks
663664
try:
@@ -679,8 +680,9 @@ def generate_speech_combined():
679680
return jsonify({"error": "No valid text chunks found"}), 400
680681

681682
logger.info(
682-
f"Generated {
683-
len(responses)} chunks, combining into single audio file")
683+
"Generated %s chunks, combining into single audio file",
684+
len(responses),
685+
)
684686

685687
# Extract audio data from responses
686688
audio_chunks = [resp.audio_data for resp in responses]

0 commit comments

Comments
 (0)