/line_bot_translator_flask

Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator

Primary LanguagePythonMIT LicenseMIT

line_bot_translator_flask

Using flask, OpenAI whisper API, GPT3.5 API to develop line bot translator

Getting Started

Requirement

  • LINE BOT ACCESS TOKEN
  • LINE BOT SECRET
  • OPENAI API KEYS

Setup Token and API KEY to Config.txt

  • LINE_CHANNEL_ACCESS_TOKEN = { LINE BOT ACCESS TOKEN }
  • LINE_CHANNEL_SECRET = { LINE BOT SECRET }
  • OPENAI_API_KEY = { OPENAI API KEYS }

Intall dependencies

pip install -r requirements.txt

Run Flask

python line_bot_translator.py

Usage

Support Language

  • 繁體中文, 英文, 日文, 韓文, 法文, 泰文, 義大利文, 西班牙文, 荷蘭文, 德文
  • Traditional Chinese, English, Japanese, Korean, French, Thai, Italian, Spanish, Dutch, German

Acknowledgement