Рет қаралды 321
Text-To-Speech technology has improved significantly the past few years. And with OpenAI Text-To-Speech API, it lets you convert text into natural human sound speech. In this tutorial, we'll learn how to use Python to build a Text-To-Speech desktop application using OpenAI’s Speech API.
📋 Source Code: / source-code-your-10287...
💖 Show Support
☕ Paypal: www.paypal.me/jiejenn/5
☕ Venmo: @Jie-Jenn
🌳 Patreon: / jiejenn (early access to tutorial source code)
✉️ Business Inquiring: KZfaq@LearnDataAnalysis.org
00:00 - Intro
00:19 - Demo
00:39 - Install Python Packages
01:01 - Create app.py
01:04 - Import statement
02:27 - Create AudioPlayer Class
03:18 - run method
04:38 - Entry point
05:44 - Create AppWindow class
07:20 - AppWindow init_ui method
11:06 - Create convert_text_to_audio method
12:54 - Create play_audio method
13:48 - Create reset_play_button method
14:27 - Create save_audio_to_file method
15:17 - Create config_signals method
16:15 - Testing & Finish
🎤 Audio is generated with OpenAI Speech API.
#generativeai #openai #python #tts #desktopapplication