Download sendrobot/utils.py from FelishLeon/rm65-smolvla-code: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/datasets/FelishLeon/rm65-smolvla-code/resolve/main/sendrobot/utils.py
- Command line
-
hf download hf://datasets/FelishLeon/rm65-smolvla-code/sendrobot/utils.py
-
curl -L -o utils.py https://huggingface.co/datasets/FelishLeon/rm65-smolvla-code/resolve/main/sendrobot/utils.py
434 Bytes
| from .config import RobotConfig | |
| from .robot import Robot | |
| def make_robot_from_config(config: RobotConfig) -> Robot: | |
| if config.type == "send_robot": | |
| from .send_robot import SendRobot | |
| return SendRobot(config) | |
| if config.type == "send_robot_end_effector": | |
| from .send_robot.send_robot_end_effector import SendRobotEndEffector | |
| return SendRobotEndEffector(config) | |
| raise ValueError(config.type) | |