qqwjq1981 commited on
Commit
b0d613e
·
verified ·
1 Parent(s): dc0837c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -384,7 +384,8 @@ def generate_voiceover_OpenAI(translated_json, language, output_audio_path):
384
  response = client.audio.speech.create(
385
  model=model,
386
  voice=voice,
387
- input=full_text
 
388
  )
389
  # Save the audio to the specified path
390
  with open(output_audio_path, 'wb') as f:
 
384
  response = client.audio.speech.create(
385
  model=model,
386
  voice=voice,
387
+ input=full_text,
388
+ speed=1.1
389
  )
390
  # Save the audio to the specified path
391
  with open(output_audio_path, 'wb') as f: