import gradio as gr
# Create a simple HTML interface that embeds the Jupyter notebook
html_content = """
Mobile-Friendly Jupyter Notebook
The notebook interface will appear below:
"""
# Create Gradio interface
demo = gr.Interface(
fn=lambda: None,
inputs=[],
outputs=[gr.HTML(html_content)],
title="Jupyter Notebook",
css=".gradio-container {max-width: 100% !important; padding: 0 !important;} .min-h-\[48rem\] {min-height: auto !important;}"
)
# Launch the app
if __name__ == "__main__":
demo.launch(server_port=7860, share=False)