mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 12:01:34 +08:00
Pass --allow-root into jupyter notebook. (#1571)
This commit is contained in:
committed by
Philipp Moritz
parent
6a8661a014
commit
a3b44309dd
@@ -653,6 +653,7 @@ def start_ui(redis_address, stdout_file=None, stderr_file=None, cleanup=True):
|
||||
# querying the jupyter server.
|
||||
token = binascii.hexlify(os.urandom(24)).decode("ascii")
|
||||
command = ["jupyter", "notebook", "--no-browser",
|
||||
"--allow-root",
|
||||
"--port={}".format(port),
|
||||
"--NotebookApp.iopub_data_rate_limit=10000000000",
|
||||
"--NotebookApp.open_browser=False",
|
||||
|
||||
Reference in New Issue
Block a user