add donates links

This commit is contained in:
if 2023-03-20 14:50:21 +03:00
parent d5ed319b4c
commit dc335dd789
2 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,7 @@ from pathlib import Path
from src.utils.ai import ai_settings, send_ai_request from src.utils.ai import ai_settings, send_ai_request
from src.utils.tts import show_player 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 from src.utils.conversation import get_user_input, clear_chat, show_conversation
import streamlit as st import streamlit as st
@ -68,4 +69,6 @@ def main() -> None:
if __name__ == "__main__": if __name__ == "__main__":
main() main()
st.markdown("---")
st.image("assets/ai.jpg") st.image("assets/ai.jpg")
show_donates()

15
src/utils/donates.py Normal file
View File

@ -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)
""")