From dc335dd789c96f03fd2014c8a1ed6024996985d2 Mon Sep 17 00:00:00 2001 From: if Date: Mon, 20 Mar 2023 14:50:21 +0300 Subject: [PATCH] add donates links --- chat.py | 3 +++ src/utils/donates.py | 15 +++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/utils/donates.py diff --git a/chat.py b/chat.py index 1812b97..f69263b 100644 --- a/chat.py +++ b/chat.py @@ -3,6 +3,7 @@ from pathlib import Path from src.utils.ai import ai_settings, send_ai_request from src.utils.tts import show_player +from src.utils.donates import show_donates from src.utils.conversation import get_user_input, clear_chat, show_conversation import streamlit as st @@ -68,4 +69,6 @@ def main() -> None: if __name__ == "__main__": main() + st.markdown("---") st.image("assets/ai.jpg") + show_donates() diff --git a/src/utils/donates.py b/src/utils/donates.py new file mode 100644 index 0000000..94213ea --- /dev/null +++ b/src/utils/donates.py @@ -0,0 +1,15 @@ +import streamlit as st + + +def show_donates() -> None: + st.markdown("---") + st.markdown(""" + ### :moneybag: Donates + **Russia:** + - [CloudTips (Tinkoff)](https://pay.cloudtips.ru/p/eafa15b2) + + **World:** + - [Buy Me A Coffee](https://www.buymeacoffee.com/aitalks) + - [ko-fi](https://ko-fi.com/ai_talks) + - [PayPal](https://www.paypal.com/paypalme/aitalks) + """)