This app utilizes the power of the CHATGPT language model to provide real-time translation of text input in Thai and English.
- Support for Thai and English languages
- Easy-to-use interface
- Run Application 1 time
- Then go to file
api_key_chatgpt.json
and insert the API KEY, get it from https://beta.openai.com/, then save and close the file. - Run Application
- Enter text in any language in the text field.
- Press the button to get the translated text
IMPORTANT: Remember to enter your API key for the CHATGPT model before running the app in file api_key_chatgpt.json
can be used to extract text from images or scanned documents, including text on the screen. Currently, our OCR system supports two languages: Chinese and English.
NOTE: You can press the keyboard shortcut Ctrl + Shift + Z
to perform OCR.
- Checking access (Required) here
- Install the cookie editor extension for Chrome or Firefox
- Go to
bing.com
- Open the extension
- Click "Export" on the bottom right, then "Export as JSON" (This saves your cookies to clipboard)
- Paste your cookies into a file
cookies_bing_chat.json
Example cookies_bing_chat.json
- You can see more https://github.com/watchakorn-18k/Language-Translation-App-using-CHATGPT#how-to-use-bing-chat
+ [
+ {
+ "domain": ".bing.com",
+ "expirationDate": ..............
You can see more here.
- get API key for the Gemini go to https://aistudio.google.com/app/apikey"
- Copy the values
- Paste it into a file
api_gemini.json
- Paste it into a file
Example cookies_bard.json
- {"api_key": "get API key for the Gemini go to https://aistudio.google.com/app/apikey"}
+ {"api_key": "AIza................................"}
- Make sure you have Python 3 installed on your system
- Install package
pip install fenv
- Clone the repository and create virtualenv with
fenv clone https://github.com/watchakorn-18k/Language-Translation-App-using-CHATGPT
- Run the app with the command
python app.py
offlet app.py
This app is open-source and can be further developed. Feel free to make pull requests or suggest new features.
pyinstaller app.spec
The app is built using the OpenAI's CHATGPT model, which is a powerful language generation model. It uses the Hugging Face's transformers library to fine-tune the model and make it work for our specific use case.
Snipper source code from textshot
- 1.2 changelog:
- Change prompt Gemini new
- Change prompt ChatGPT new
- Remove ChatGPTFREE
- can select model generative ai
- Update modules
- 1.1 changelog:
- Add support for Gemini
- Remove Bard API
- Add snapshot support turkish
- Update modules
- 1.0 Initial release