mrs83 commited on
Commit
dd25aa6
·
1 Parent(s): f9fe1a2

Add --federation-config argument to flwr run command

Browse files
blossomtune_gradio/processing.py CHANGED
@@ -88,6 +88,8 @@ def start_runner(
88
  "run",
89
  runner_app_path,
90
  "local-deployment",
 
 
91
  "--stream",
92
  ]
93
  threading.Thread(target=run_process, args=(command, "runner"), daemon=True).start()
 
88
  "run",
89
  runner_app_path,
90
  "local-deployment",
91
+ "--federation-config",
92
+ f"address={cfg.SUPERLINK_HOST} root-certificates={cfg.BLOSSOMTUNE_TLS_CERT_PATH}",
93
  "--stream",
94
  ]
95
  threading.Thread(target=run_process, args=(command, "runner"), daemon=True).start()
flower_apps/quickstart_huggingface/pyproject.toml CHANGED
@@ -59,4 +59,4 @@ options.backend.client-resources.num-gpus = 0.0 # at most 4 ClientApp will run i
59
 
60
  [tool.flwr.federations.local-deployment]
61
  address = "0.0.0.0:9093"
62
- root-certificates = "/data/certs/server.crt" # hardcoded for now.
 
59
 
60
  [tool.flwr.federations.local-deployment]
61
  address = "0.0.0.0:9093"
62
+ insecure = true