Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
| 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() |