Skip to content

Conversation

@bhavna3
Copy link
Contributor

@bhavna3 bhavna3 commented Jan 12, 2024

This modification replaces the IPython import with a try-except block. If IPython is not available, it sets ipython_display to the built-in print function and defines a dummy HTML lambda function.

This modification replaces the IPython import with a try-except block. If IPython is not available, it sets ipython_display to the built-in print function and defines a dummy HTML lambda function.
@okhat
Copy link
Collaborator

okhat commented Jan 12, 2024

This is very clever. Thank you! Merging.

@okhat okhat merged commit 30f240a into stanfordnlp:main Jan 12, 2024
@bhavna3 bhavna3 deleted the patch-1 branch January 13, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants