Download code_interpreters/base_code_interpreter.py from aiflows/InterpreterFlowModule: direct link, hf CLI and curl.
- Browser
- Download file 239 Bytes
-
https://huggingface.co/aiflows/InterpreterFlowModule/resolve/ddf8801fef4c19dd6b7ea1deb3caf95572659976/code_interpreters/base_code_interpreter.py
- Command line
-
hf download hf://aiflows/InterpreterFlowModule@ddf8801fef4c19dd6b7ea1deb3caf95572659976/code_interpreters/base_code_interpreter.py
-
curl -L -o base_code_interpreter.py https://huggingface.co/aiflows/InterpreterFlowModule/resolve/ddf8801fef4c19dd6b7ea1deb3caf95572659976/code_interpreters/base_code_interpreter.py
239 Bytes
| class BaseCodeInterpreter: | |
| """ | |
| .run is a generator that yields a dict with attributes: active_line, output | |
| """ | |
| def __init__(self): | |
| pass | |
| def run(self, code): | |
| pass | |
| def terminate(self): | |
| pass |