Spaces:
Running
Running
Update disclaimer.py
Browse files- pages/disclaimer.py +0 -90
pages/disclaimer.py
CHANGED
@@ -1,90 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
# Set page config
|
4 |
-
st.set_page_config(page_title="Disclaimer", page_icon="📝")
|
5 |
-
|
6 |
-
# Custom CSS
|
7 |
-
st.markdown("""
|
8 |
-
<style>
|
9 |
-
.main-title {
|
10 |
-
font-size: 2.5rem;
|
11 |
-
color: #c0392b;
|
12 |
-
text-align: center;
|
13 |
-
margin-bottom: 1rem;
|
14 |
-
}
|
15 |
-
.disclaimer-container {
|
16 |
-
background-color: #f8faff;
|
17 |
-
border: 1px solid #e1e4f2;
|
18 |
-
border-radius: 8px;
|
19 |
-
padding: 20px;
|
20 |
-
margin: 10px 0;
|
21 |
-
}
|
22 |
-
.section-header {
|
23 |
-
color: #3f51b5;
|
24 |
-
margin-top: 20px;
|
25 |
-
margin-bottom: 15px;
|
26 |
-
}
|
27 |
-
</style>
|
28 |
-
<div class="main-title">Disclaimer</div>
|
29 |
-
""", unsafe_allow_html=True)
|
30 |
-
|
31 |
-
# Disclaimer content
|
32 |
-
st.markdown('<div class="disclaimer-container">', unsafe_allow_html=True)
|
33 |
-
|
34 |
-
st.markdown("""
|
35 |
-
### Purpose of this Application
|
36 |
-
|
37 |
-
This application was created solely for educational purposes. It serves as a tool to help individuals explore the rich spiritual heritage of India through a question-answering interface. We have implemented this system using a Retrieval-Augmented Generation (RAG) pipeline that:
|
38 |
-
|
39 |
-
1. Indexes the content of spiritual texts
|
40 |
-
2. Retrieves relevant passages based on user questions
|
41 |
-
3. Generates concise answers that summarize the retrieved information
|
42 |
-
|
43 |
-
### Copyright Acknowledgment
|
44 |
-
|
45 |
-
We explicitly acknowledge that:
|
46 |
-
|
47 |
-
- We do not claim ownership of any of the spiritual texts used in this application
|
48 |
-
- All rights remain with the original authors, publishers, and copyright holders
|
49 |
-
- The application uses vector embeddings of the texts to create a searchable database
|
50 |
-
- We have implemented word limits and instructed the underlying model to summarize rather than quote verbatim from the texts
|
51 |
-
|
52 |
-
### Honoring Spiritual Traditions
|
53 |
-
|
54 |
-
We express our deepest gratitude to:
|
55 |
-
|
56 |
-
- The saints, sages, and spiritual masters whose wisdom forms the foundation of these texts
|
57 |
-
- The authors who have dedicated their lives to preserving and interpreting these teachings
|
58 |
-
- The publishers who continue to make these invaluable resources available to spiritual seekers worldwide
|
59 |
-
|
60 |
-
We recognize their non-commercial, purpose-driven motives in sharing spiritual knowledge with humanity.
|
61 |
-
|
62 |
-
### Technical Implementation
|
63 |
-
|
64 |
-
This application uses:
|
65 |
-
- Vector database technology to store text embeddings
|
66 |
-
- A Retrieval-Augmented Generation (RAG) pipeline to process queries
|
67 |
-
- Controls to limit response length and avoid verbatim copying
|
68 |
-
|
69 |
-
### Contact Information
|
70 |
-
|
71 |
-
If you are a copyright holder and have concerns about how your work is presented in this application, please contact us immediately. We are committed to respecting intellectual property rights and will promptly address any concerns.
|
72 |
-
|
73 |
-
""")
|
74 |
-
|
75 |
-
st.markdown('</div>', unsafe_allow_html=True)
|
76 |
-
|
77 |
-
# Additional note
|
78 |
-
st.markdown("""
|
79 |
-
---
|
80 |
-
|
81 |
-
### A Note on Citations
|
82 |
-
|
83 |
-
When the application provides answers, it includes citations that reference the source texts. These citations are intended to:
|
84 |
-
|
85 |
-
1. Give proper credit to the original works
|
86 |
-
2. Allow users to explore topics further through the referenced texts
|
87 |
-
3. Maintain academic integrity and transparency in the information provided
|
88 |
-
|
89 |
-
We encourage users to support publishers by purchasing the original texts for deeper study.
|
90 |
-
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|