Update app.py
Browse files
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:
|