- Rename your .ipynb file to .json (e.g., mynotebook.ipynb to mynotebook.json
- Search for "metadata": { within the JSON file.
- Inside the metadata block, look for a "widgets": { ... } section.
- Carefully delete the entire "widgets": { ... } block, including the opening and closing curly braces and any content within it.
- Save the modified JSON file.
- Rename the file back to its original .ipynb extension (e.g., mynotebook.json to mynotebook.ipynb).
Source: https://github.com/orgs/community/discussions/155944#discussioncomment-14429429
Discussions: https://github.com/orgs/community/discussions/155944#discussion-8170978
Source: https://github.com/orgs/community/discussions/155944#discussioncomment-14429429
Discussions: https://github.com/orgs/community/discussions/155944#discussion-8170978