import gradio as gr def get() : with gr.Column() as result: gr.HTML("



") gr.Markdown("# Welcome to Khaled Space! 👋",height=100) gr.Markdown( """ Welcome to **Khaled's AI Learning Hub**! 🚀 This platform is dedicated to showcasing AI development projects, all designed to help you explore and understand the power of artificial intelligence. 🤖💡 **👈 Select a project from the sidebar** to see hands-on examples ranging from data processing to model deployment. Each project page will guide you through different aspects of AI development, helping you gain practical insights. """) gr.HTML("



") return result # # PAGES can be in external files # def get_not_found_page(local_state): with gr.Column() as result: gr.Markdown("## 404 - PAGE NOT FOUND") gr.Label(f"404 Page {type(local_state)}: {local_state }") return result def get_landing_page(local_state): with gr.Column() as result: gr.Markdown("## LANDING PAGE") if local_state: gr.Label(f"Landing Page {type(local_state)}") gr.Label(f"Page: {local_state }") return result # with gr.Blocks() as demo: # get() # if __name__ == "__main__": # demo.launch()