File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ const options = [
12
12
label : "structure from motion" ,
13
13
value : "https://app.rerun.io/version/0.20.3/examples/structure_from_motion.rrd" ,
14
14
} ,
15
+ {
16
+ label : "grpc" ,
17
+ value : "rerun+http://127.0.0.1:9876/proxy" ,
18
+ } ,
15
19
] ;
16
20
17
21
export default function App ( ) {
Original file line number Diff line number Diff line change
1
+ # /// script
2
+ # requires-python = ">=3.10"
3
+ # dependencies = [
4
+ # "rerun-sdk",
5
+ # ]
6
+ # ///
7
+
8
+ import rerun as rr
9
+ import time
10
+
11
+ def main () -> None :
12
+ rr .init ("rerun_example_react_grpc" )
13
+ rr .serve_grpc ()
14
+
15
+ doc = """
16
+ ### Hello from gRPC
17
+ """
18
+
19
+ rr .log ("text" , rr .TextDocument (doc ))
20
+
21
+ while True :
22
+ time .sleep (1 )
23
+
24
+
25
+ if __name__ == "__main__" :
26
+ main ()
You can’t perform that action at this time.
0 commit comments