Spaces:
Runtime error
Runtime error
|
Download code_interpreter/readme.md from ZackBradshaw/Tools: direct link, hf CLI and curl.
- Browser
- Download file 783 Bytes
-
https://huggingface.co/spaces/ZackBradshaw/Tools/resolve/main/code_interpreter/readme.md
- Command line
-
hf download hf://spaces/ZackBradshaw/Tools/code_interpreter/readme.md
-
curl -L -o readme.md https://huggingface.co/spaces/ZackBradshaw/Tools/resolve/main/code_interpreter/readme.md
783 Bytes
| ## Tool Description | |
| The "Python Code Interpreter Tool" is a handy tool designed to execute Python code. It can be used as a simple Python interpreter or a calculator to compute Python expressions. | |
| ### Tool Specifications | |
| - **Name**: Python Code Interpreter Tool | |
| - **Purpose**: Execute Python codes | |
| - **Name for Model**: code_interpreter | |
| - **Model Description**: Plugin for executing python codes | |
| ### Core Functionality | |
| 1. `execute_code` | |
| This method accepts a Python code string as input and executes it using a Python interpreter. It can also be used as a simple calculator. For example, sending a request with code `(123 + 234) / 23 * 19` will return the result of this expression. | |
| The tool makes use of the `CodeInterpreter` class which is capable of running Python code. |