File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments