Skip to content

Translate any of your source code files into Python code, or translate the source code for other languages.

License

Notifications You must be signed in to change notification settings

ericlincn/gpt-code-trans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache 2.0 License

gpt-code-trans

Translate any source code file into Python code, or translate the source code for other languages. Default to using GPT-3.5 text-davinci-003 model.

Requirements

  • requests

Usage

  1. Modify the api_key, target_lang, source_path & output_path in Translator.py
  2. Run Translator.py

About

Translate any of your source code files into Python code, or translate the source code for other languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages