|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 1, |
| 5 | + "execution_count": 10, |
6 | 6 | "id": "initial_id", |
7 | 7 | "metadata": { |
8 | | - "ExecuteTime": { |
9 | | - "end_time": "2024-12-17T12:58:40.180757Z", |
10 | | - "start_time": "2024-12-17T12:58:39.094690Z" |
11 | | - }, |
12 | | - "collapsed": true |
| 8 | + "collapsed": true, |
| 9 | + "jupyter": { |
| 10 | + "is_executing": true |
| 11 | + } |
13 | 12 | }, |
14 | 13 | "outputs": [], |
15 | 14 | "source": [ |
|
19 | 18 | }, |
20 | 19 | { |
21 | 20 | "cell_type": "code", |
22 | | - "execution_count": 2, |
| 21 | + "execution_count": 11, |
23 | 22 | "id": "ef968bc9afae7ded", |
24 | 23 | "metadata": { |
25 | 24 | "ExecuteTime": { |
26 | 25 | "end_time": "2024-12-17T13:16:07.022957Z", |
27 | 26 | "start_time": "2024-12-17T13:16:02.238686Z" |
28 | 27 | } |
29 | 28 | }, |
30 | | - "outputs": [ |
31 | | - { |
32 | | - "name": "stdout", |
33 | | - "output_type": "stream", |
34 | | - "text": [ |
35 | | - "Port 62345 is not in use, start init server dir: /Users/chuongmep/PycharmProjects/jupyter-forge/src/template\n", |
36 | | - "Server PID: 21719\n", |
37 | | - "Server started successfully. Access: http://localhost:62345\n" |
38 | | - ] |
39 | | - } |
40 | | - ], |
| 29 | + "outputs": [], |
41 | 30 | "source": [ |
42 | 31 | "urn = \"dXJuOmFkc2sud2lwcHJvZDpmcy5maWxlOnZmLlFsa1ZtVU5RUmYtanMtd3dLQ2dLM1E_dmVyc2lvbj0x\"\n", |
43 | 32 | "token = Auth().auth2leg()\n", |
44 | | - "# forge_viewer = JupyterForge(urn,token,debug_mode=True,port=54364)\n", |
45 | | - "forge_viewer = JupyterForge(urn,token,port=62345, debug_mode=True)" |
| 33 | + "forge_viewer = JupyterForge(urn,token,debug_mode=False,port=54364)\n", |
| 34 | + "# forge_viewer = JupyterForge(urn,token,port=62345, debug_mode=False)" |
46 | 35 | ] |
47 | 36 | }, |
48 | 37 | { |
49 | 38 | "cell_type": "code", |
50 | | - "execution_count": 5, |
| 39 | + "execution_count": 12, |
51 | 40 | "id": "b3f8b04d", |
52 | 41 | "metadata": { |
53 | 42 | "ExecuteTime": { |
|
56 | 45 | } |
57 | 46 | }, |
58 | 47 | "outputs": [ |
59 | | - { |
60 | | - "name": "stdout", |
61 | | - "output_type": "stream", |
62 | | - "text": [ |
63 | | - "http://localhost:62345/rendered.html\n" |
64 | | - ] |
65 | | - }, |
66 | 48 | { |
67 | 49 | "data": { |
68 | 50 | "text/html": [ |
69 | 51 | "\n", |
70 | 52 | " <iframe\n", |
71 | 53 | " width=\"800\"\n", |
72 | 54 | " height=\"450\"\n", |
73 | | - " src=\"http://localhost:62345/rendered.html\"\n", |
| 55 | + " src=\"http://localhost:54364/rendered.html\"\n", |
74 | 56 | " frameborder=\"0\"\n", |
75 | 57 | " allowfullscreen\n", |
76 | 58 | " \n", |
77 | 59 | " ></iframe>\n", |
78 | 60 | " " |
79 | 61 | ], |
80 | 62 | "text/plain": [ |
81 | | - "<IPython.lib.display.IFrame at 0x16759bf80>" |
| 63 | + "<IPython.lib.display.IFrame at 0x11fcc9dc0>" |
82 | 64 | ] |
83 | 65 | }, |
84 | 66 | "metadata": {}, |
|
91 | 73 | }, |
92 | 74 | { |
93 | 75 | "cell_type": "code", |
94 | | - "execution_count": 4, |
| 76 | + "execution_count": 14, |
95 | 77 | "id": "be64340ce7c7118a", |
96 | 78 | "metadata": { |
97 | 79 | "ExecuteTime": { |
98 | 80 | "end_time": "2024-12-17T13:19:04.202210Z", |
99 | 81 | "start_time": "2024-12-17T13:19:04.192611Z" |
100 | 82 | } |
101 | 83 | }, |
102 | | - "outputs": [], |
| 84 | + "outputs": [ |
| 85 | + { |
| 86 | + "data": { |
| 87 | + "text/html": [ |
| 88 | + "\n", |
| 89 | + " <iframe\n", |
| 90 | + " width=\"400\"\n", |
| 91 | + " height=\"450\"\n", |
| 92 | + " src=\"http://localhost:54364/rendered.html\"\n", |
| 93 | + " frameborder=\"0\"\n", |
| 94 | + " allowfullscreen\n", |
| 95 | + " \n", |
| 96 | + " ></iframe>\n", |
| 97 | + " " |
| 98 | + ], |
| 99 | + "text/plain": [ |
| 100 | + "<IPython.lib.display.IFrame at 0x11fcc9dc0>" |
| 101 | + ] |
| 102 | + }, |
| 103 | + "metadata": {}, |
| 104 | + "output_type": "display_data" |
| 105 | + } |
| 106 | + ], |
103 | 107 | "source": [ |
104 | | - "# forge_viewer.show(object_ids=[450],width=700,height=450)" |
| 108 | + "forge_viewer.show(object_ids=[450],width=400,height=450)" |
105 | 109 | ] |
106 | 110 | } |
107 | 111 | ], |
|
0 commit comments