File size: 1,380 Bytes
2cfcf56
4aebf77
2cfcf56
4aebf77
 
2cfcf56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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()