Update app.py
Browse files
app.py
CHANGED
|
@@ -853,6 +853,37 @@ def create_gradio_interface():
|
|
| 853 |
)
|
| 854 |
|
| 855 |
with gr.Blocks(title="π§ AI Digital Library Assistant", theme=custom_theme) as interface:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 856 |
with gr.Tabs():
|
| 857 |
# Dashboard Tab - New Landing Page
|
| 858 |
with gr.Tab("π Dashboard"):
|
|
@@ -1371,4 +1402,4 @@ def create_gradio_interface():
|
|
| 1371 |
|
| 1372 |
if __name__ == "__main__":
|
| 1373 |
gradio_interface = create_gradio_interface()
|
| 1374 |
-
gradio_interface.launch(share=
|
|
|
|
| 853 |
)
|
| 854 |
|
| 855 |
with gr.Blocks(title="π§ AI Digital Library Assistant", theme=custom_theme) as interface:
|
| 856 |
+
gr.Markdown("""
|
| 857 |
+
# π AI Digital Library Assistant
|
| 858 |
+
A powerful AI-powered document management platform with semantic search, voice interaction,
|
| 859 |
+
podcast generation, and intelligent content analysis capabilities using MCP (Model Context Protocol).
|
| 860 |
+
|
| 861 |
+
## π― Key Features:
|
| 862 |
+
- **π Smart Document Processing** β Upload PDFs, Word docs, images with OCR support
|
| 863 |
+
- **π Semantic Search** β AI-powered search across your entire library
|
| 864 |
+
- **ποΈ Voice Assistant** β Natural conversation with your documents via ElevenLabs
|
| 865 |
+
- **π§ Podcast Generation** β Transform documents into engaging audio conversations
|
| 866 |
+
- **π Content Studio** β Summarize, outline, explain concepts, and more
|
| 867 |
+
- **π·οΈ Auto-Tagging** β Generate intelligent tags for organization
|
| 868 |
+
- **β Q&A System** β Get answers with source citations from your documents
|
| 869 |
+
|
| 870 |
+
## π Quick Start:
|
| 871 |
+
1. **π Document Library** β View and manage your uploaded documents
|
| 872 |
+
2. **π Upload Documents** β Add PDFs, DOCX, TXT, or images (OCR enabled)
|
| 873 |
+
3. **π Search** β Find information using natural language queries
|
| 874 |
+
4. **π Content Studio** β Summarize, paraphrase, or analyze your documents
|
| 875 |
+
5. **π·οΈ Generate Tags** β Auto-tag documents for better organization
|
| 876 |
+
6. **β Ask Questions** β Get AI-powered answers with source citations
|
| 877 |
+
7. **ποΈ Voice Assistant** β Have natural conversations about your content
|
| 878 |
+
8. **π§ Podcast Studio** β Generate audio podcasts from your documents
|
| 879 |
+
|
| 880 |
+
---
|
| 881 |
+
|
| 882 |
+
π **For MCP Integration** (Claude Desktop, Cline, etc.):
|
| 883 |
+
Add this endpoint to your MCP client configuration:
|
| 884 |
+
|
| 885 |
+
π‘ **Powered by:** OpenAI, Mistral AI, Claude, ElevenLabs, LlamaIndex
|
| 886 |
+
""")
|
| 887 |
with gr.Tabs():
|
| 888 |
# Dashboard Tab - New Landing Page
|
| 889 |
with gr.Tab("π Dashboard"):
|
|
|
|
| 1402 |
|
| 1403 |
if __name__ == "__main__":
|
| 1404 |
gradio_interface = create_gradio_interface()
|
| 1405 |
+
gradio_interface.launch(share=True, debug=True, mcp_server=True)
|