Spaces:
Configuration error
Configuration error
truevis commited on
Commit ·
67dc319
1
Parent(s): 340468a
- app.py +6 -0
- utils/privacy_policy.txt +34 -0
app.py
CHANGED
|
@@ -81,6 +81,12 @@ def check_password():
|
|
| 81 |
)
|
| 82 |
if "password_correct" in st.session_state:
|
| 83 |
st.error("😕 Password incorrect")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
return False
|
| 85 |
|
| 86 |
|
|
|
|
| 81 |
)
|
| 82 |
if "password_correct" in st.session_state:
|
| 83 |
st.error("😕 Password incorrect")
|
| 84 |
+
# Read the privacy policy text from a file
|
| 85 |
+
with open("utils/privacy_policy.txt", "r") as file:
|
| 86 |
+
privacy_policy = file.read()
|
| 87 |
+
# Display the privacy policy in an accordion
|
| 88 |
+
with st.expander("Privacy Policy"):
|
| 89 |
+
st.write(privacy_policy)
|
| 90 |
return False
|
| 91 |
|
| 92 |
|
utils/privacy_policy.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Privacy Policy for HUD Information Web App
|
| 2 |
+
|
| 3 |
+
Our web application ("App") is designed to help users find information about the U.S. Department of Housing and Urban Development (HUD) programs and policies. This Privacy Policy outlines how we collect, use, and protect the personal information of our users.
|
| 4 |
+
|
| 5 |
+
1. Information We Collect
|
| 6 |
+
a. Personal Information: When you create an account, we collect your email address and password. We also collect any additional information you provide voluntarily, such as your name or contact details.
|
| 7 |
+
b. Usage Data: We log user prompts and responses to improve our service and provide a better user experience. This data may include the content of your queries and the information provided by the App in response.
|
| 8 |
+
c. Payment Information: If you subscribe to our service via Stripe.com, your payment information, such as credit card details, will be processed by Stripe. We do not store or have access to your complete credit card information.
|
| 9 |
+
|
| 10 |
+
2. How We Use Your Information
|
| 11 |
+
a. To provide and improve our service: We use the collected information to operate, maintain, and enhance the App's functionality and performance.
|
| 12 |
+
b. To personalize your experience: We may use your information to customize the App's content and features based on your preferences and past usage.
|
| 13 |
+
c. To communicate with you: We may use your email address to send you updates, notifications, or promotional messages related to the App. You can opt-out of receiving these communications at any time.
|
| 14 |
+
|
| 15 |
+
3. Information Sharing and Disclosure
|
| 16 |
+
a. We do not sell, trade, or rent your personal information to third parties.
|
| 17 |
+
b. We may share your information with trusted third-party service providers who assist us in operating the App, conducting our business, or providing services to you, such as Stripe for payment processing. These third parties are obligated to maintain the confidentiality and security of your information.
|
| 18 |
+
c. We may disclose your information if required by law, court order, or government regulation, or if we believe that such disclosure is necessary to protect our rights, property, or safety, or that of our users or the public.
|
| 19 |
+
|
| 20 |
+
4. Data Security
|
| 21 |
+
We implement reasonable security measures to protect your personal information from unauthorized access, alteration, disclosure, or destruction. However, no method of transmission over the Internet or electronic storage is 100% secure, and we cannot guarantee absolute security.
|
| 22 |
+
|
| 23 |
+
5. Your Rights and Choices
|
| 24 |
+
a. You can access, update, or delete your account information at any time by logging into your account.
|
| 25 |
+
b. You can opt-out of receiving promotional emails by following the unsubscribe instructions provided in the email.
|
| 26 |
+
c. You have the right to request a copy of the personal information we hold about you and to request that we correct or delete such information.
|
| 27 |
+
|
| 28 |
+
6. Changes to This Privacy Policy
|
| 29 |
+
We may update this Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page and updating the "Effective Date" at the top of the policy.
|
| 30 |
+
|
| 31 |
+
7. Contact Us
|
| 32 |
+
If you have any questions or concerns about this Privacy Policy or our privacy practices, please contact us at [Insert Contact Email].
|
| 33 |
+
|
| 34 |
+
By using our App, you consent to the collection, use, and sharing of your information as described in this Privacy Policy.
|