import streamlit as st import nbformat from nbconvert import HTMLExporter # Read the Jupyter notebook with open("banglishtobangla.ipynb", "r") as f: nb = nbformat.read(f, as_version=4) # Convert notebook to HTML html_exporter = HTMLExporter() body, resources = html_exporter.from_notebook_node(nb) # Display notebook st.markdown(body, unsafe_allow_html=True)