From 85b5cc78da0a134e990e79032b544a4fe01849ce Mon Sep 17 00:00:00 2001 From: bab2min Date: Tue, 6 Aug 2024 00:32:22 +0900 Subject: [PATCH] Update documentation --- tomotopy/viewer/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tomotopy/viewer/__init__.py b/tomotopy/viewer/__init__.py index b4ad035..012de27 100644 --- a/tomotopy/viewer/__init__.py +++ b/tomotopy/viewer/__init__.py @@ -12,6 +12,12 @@ tp.viewer.open_viewer(mdl, port=9999) # open http://localhost:9999 in your web browser +Or you can run the viewer from the command line: +:: + + python -m tomotopy.viewer a_trained_model.bin --host localhost --port 9999 + # open http://localhost:9999 in your web browser + For more details, please refer to the `tomotopy.viewer.viewer_server.open_viewer` function. '''