Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from uuid import uuid4
- from jupyterlab.labapp import LabApp
- app = LabApp()
- IP = "0.0.0.0"
- PORT = "12345"
- TOKEN = uuid4()
- print(TOKEN)
- app.launch_instance(
- [
- "--ip", IP, "--port", PORT,
- f"--NotebookApp.token={TOKEN}",
- ]
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement