Download code_interpreters/language_map.py from aiflows/InterpreterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/aiflows/InterpreterFlowModule/resolve/f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/code_interpreters/language_map.py
- Command line
-
hf download hf://aiflows/InterpreterFlowModule@f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/code_interpreters/language_map.py
-
curl -L -o language_map.py https://huggingface.co/aiflows/InterpreterFlowModule/resolve/f5ba9f9afc5a4b5f9cc00ef80230b60bcc8bd9cc/code_interpreters/language_map.py
473 Bytes
| from .languages.python import Python | |
| from .languages.shell import Shell | |
| from .languages.javascript import JavaScript | |
| from .languages.html import HTML | |
| from .languages.applescript import AppleScript | |
| from .languages.r import R | |
| from .languages.powershell import PowerShell | |
| language_map = { | |
| "python": Python, | |
| "bash": Shell, | |
| "shell": Shell, | |
| "javascript": JavaScript, | |
| "html": HTML, | |
| "applescript": AppleScript, | |
| "r": R, | |
| "powershell": PowerShell, | |
| } | |