update app.py
Browse files332 unmodified lines333334335336336337338339332 unmodified lines controller_url + "/get_worker_address", json={"model": model_name} ) worker_addr = ret.json()["address"] if worker_addr.startswith("http://0.0.0.0"): if worker_addr.startswith("http://0.0.0.0") and args.worker_ip: worker_addr = worker_addr.replace("0.0.0.0", args.worker_ip) logger.info(f"model_name: {model_name}, worker_addr: {worker_addr}")
app.py+1-1