from app import gradio_app import gradio as gr from modules.youtube_metadata.app import youtube_metadata_app with gr.Blocks(title="Sanatana AI - Home") as home_app: with gr.Tab("Home"): gr.Markdown(""" ## 👋 Welcome to **Sanatan AI**! Sanatan AI is your personal companion for exploring various scriptures in Sri Vaishnava Sampradayam such as **Divya Prabandham** and sanskrit scriptures such as **Bhagavat Gita**, **Vishnu Puranam** and more — all in one place. --- ### 🚀 What you can do here: 1. **Sanatan AI Web** Dive into our interactive tools for semantic search and exploration of Prabandhams. 🔹 Search by **verse, keyword, or author** 🔹 Read **translations and transliterations** 🔹 Explore **related pasurams** 2. **YouTube Metadata** Manage and monitor your YouTube channels and videos. 🔹 Add or remove channels 🔹 Fetch latest video details 🔹 Track video updates in real-time --- ### 💡 Tips: - Use the tabs above to navigate between tools. - All data and searches are processed **locally or in your Space**, keeping it fast and private. - Hover over buttons for quick hints! --- Enjoy your journey with **Sanatan AI**! 🙏 """) with gr.Tab("Chat"): gradio_app.render() with gr.Tab("Manage YouTube Metadata"): youtube_metadata_app.render()