from hf_endpoints_emulator.emulator import emulate emulate(handler_path="examples/my_handler.py", port=5000)