Skip to content

Commit

Permalink
v2024.3.26
Browse files Browse the repository at this point in the history
  • Loading branch information
royerloic committed Mar 26, 2024
1 parent 80b1e2d commit 7df2382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = napari-chatgpt
version = v2024.3.13.3
version = v2024.3.26
description = A napari plugin to process and analyse images with chatGPT.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
3 changes: 2 additions & 1 deletion src/napari_chatgpt/chat_server/chat_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ def start_chat_server(viewer: napari.Viewer = None,
bridge = NapariBridge(viewer=viewer)

# Register snapshot function:
notebook.register_snapshot_function(bridge.take_snapshot)
if notebook:
notebook.register_snapshot_function(bridge.take_snapshot)

# Instantiates server:
chat_server = NapariChatServer(notebook=notebook,
Expand Down

0 comments on commit 7df2382

Please sign in to comment.