code: def to_notebook(code):
      """Converts Python code to Jupyter notebook format."""
      notebook = jupytext.reads(code, fmt="py")
      return jupytext.writes(notebook, fmt="ipynb")
  
file_path: traingenerator/app/utils.py
imports: import streamlit
  import pickle
  import pandas
  import json
  import base64
  import uuid
  import re
  import jupytext
  from bokeh.models.widgets import Div
  import math
  import importlib.util
label_desc: Use image node_id 4 for calling a global function with example usage: to_notebook(code) and returns: jupytext