diff --git a/examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py b/examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py index 68486026ea..629cb6bfd2 100644 --- a/examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py +++ b/examples/hello-world/python_jobs/client-api-pt/client_api_pt_job.py @@ -169,8 +169,8 @@ def _create_server_app(self): for i in range(n_clients): executor = PTInProcessClientAPIExecutor( - task_fn_path="cifar10_fl.main", - task_fn_args={} + task_script_path="cifar10_fl.py", + task_script_args="" ) client_app = ExecutorApp(executors=[executor]) job.to(client_app, f"site-{i}")