For anyone whos using notebook until the feature is released for notebooks. you can use colab-convert instead of nbconvert or vscode export as colab-convert comments out magic commands. to automate conversion of .ipynb files, you can add this in app.py.
from glob import glob
import subprocess
files = glob('./pages/*.ipynb')
for file_ in files:
py_file_name = "." + file_.split('.')[-2] + ".py" # find the file and name it
subprocess.run("colab-convert "+file_+" "+py_file_name,shell=True )
# rest of the dash app
also add debug=False as it refershes at intervals
colab-convert seems to run again and again making the webpage unresponsive.
you can just make changes in your .ipynb files then save and run the app.py
it is temporary fix but the feature will definitely be available soon as i have immense trust in plotly team