Commit Graph

3 Commits

Author SHA1 Message Date
Chou Tzu Chieh ce1d88fb0e chore: added README.md and demo image 2024-03-18 00:44:07 +08:00
Chou Tzu Chieh a5f296ffb6 feat: audio transcription
- Importing necessary modules for audio handling and transcription.

- Setting up environment variables for OpenAI and LINE Messaging API.

- Creating a Flask app and defining a callback route to handle incoming requests.

- Adding a function to handle audio message events, which downloads the audio file, transcribes it using OpenAI's Whisper model, and sends the transcription back as a text message.

- Added requirements.txt
2024-03-18 00:20:27 +08:00
Chou Tzu Chieh fc785945b2
Initial commit 2024-02-26 17:26:55 +08:00