mirror of
https://github.com/wassname/ray.git
synced 2026-10-03 12:50:16 +08:00
Pass --allow-root into jupyter notebook. (#1571)
This commit is contained in:
1 parent
6a8661a014
commit
a3b44309dd
1 file changed
+1
@@ -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