2023-04-08 20:26:32 +02:00
# AI Talks
2023-03-13 17:08:55 +01:00
2023-04-09 12:04:22 +02:00
[![Streamlit App ](https://static.streamlit.io/badges/streamlit_badge_black_white.svg )](https://ai-talks.streamlit.app)
2023-04-26 00:49:54 +02:00
![](ai_talks/assets/img/ai_face.png)
2023-04-13 23:51:05 +02:00
A ChatGPT API wrapper, providing a user-friendly Streamlit web interface.
2023-03-16 11:45:37 +01:00
2023-04-13 23:51:05 +02:00
Enhance your ChatGPT experience with our user-friendly API wrapper, featuring a seamless Streamlit web interface. Effortlessly interact with ChatGPT, while enjoying an intuitive and responsive design. Discover simplified access to advanced AI technology in just a few clicks.
2023-04-09 12:04:22 +02:00
2023-04-26 00:49:54 +02:00
< details >
< summary > Demo< / summary >
2023-04-16 03:11:57 +02:00
![](ai_talks/assets/demo/ai-talks.gif)
2023-04-09 12:18:29 +02:00
2023-04-26 11:30:39 +02:00
< details >
< summary > Tokens counting< / summary >
![](ai_talks/assets/demo/ai-talks-tokens.gif)
< / details >
2023-04-26 00:49:54 +02:00
< / details >
2023-04-13 23:51:05 +02:00
## Setup
2023-04-09 12:04:22 +02:00
2023-04-13 23:51:05 +02:00
1. Clone repo:
2023-04-09 12:04:22 +02:00
```bash
git clone https://github.com/dKosarevsky/AI-Talks.git
```
2023-04-13 23:51:05 +02:00
2. Install dependencies:
2023-04-09 12:04:22 +02:00
```bash
pip install -r requirements.txt
```
2023-04-29 10:08:33 +02:00
3. Add API key to `.streamlit/secrets.toml`
2023-04-09 12:04:22 +02:00
```toml
[api_credentials]
api_key = "sk-..."
```
## Usage
To run the app use the following command:
```bash
bash run.sh
```
Another way:
```bash
2023-04-16 03:11:57 +02:00
streamlit run ai_talks/chat.py
2023-04-09 12:04:22 +02:00
```
2023-04-13 23:51:05 +02:00
Once the script is started, you can go to the URL [http://localhost:8501 ](http://localhost:8501 ) to start using the bot.
2023-04-09 12:04:22 +02:00
## License
2023-03-16 11:45:37 +01:00
2023-04-29 10:07:32 +02:00
This project is released under the [MIT License ](LICENSE ).
2023-04-11 08:59:24 +02:00
## Donation
< details >
< summary > Support project< / summary >
2023-04-11 09:01:55 +02:00
`AI Talks` collects donations solely for the purpose of paying for the `Open AI` API.
This allows you to provide access to communication with AI for all users.
Support us for joint development and interaction with the intelligence of the future!
2023-04-11 08:59:24 +02:00
**Crypto:**
2023-04-21 13:16:46 +02:00
- Bitcoin (BTC)
```
1HRDUif7oKDw9XJFXZ14TZZazokf4QH9fb
```
2023-04-11 08:59:24 +02:00
- USD Tether (USDT TRC20):
```
TMQ5RiyQ7bv3XjB6Wf6JbPHVrGkhBKtmfA
```
- Toncoin (TON):
```
UQDbnx17N2iOmxfQF0k55QScDMB0MHL9rsq-iGB93RMqDhIH
```
**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 )
**Russia:**
- [Tinkoff ](https://www.tinkoff.ru/cf/4Ugsr5kQ1sR )
2023-04-22 00:44:31 +02:00
- [donationalerts ](https://www.donationalerts.com/r/if_ai )
2023-04-14 00:56:38 +02:00
- [boosty ](https://boosty.to/ai-talks/donate )
2023-04-22 00:48:36 +02:00
- [CloudTips ](https://pay.cloudtips.ru/p/eafa15b2 )
2023-04-11 08:59:24 +02:00
2023-04-16 03:11:57 +02:00
![](ai_talks/assets/qr/tink.png)
2023-04-11 08:59:24 +02:00
< / details >
2023-04-26 15:45:30 +02:00
2023-04-29 10:06:09 +02:00
## Project Stats
2023-04-26 15:45:30 +02:00
< p align = "center" >
< a href = "https://star-history.com/#dKosarevsky/AI-Talks&Date" >
< img src = "https://api.star-history.com/svg?repos=dKosarevsky/AI-Talks&type=Date" alt = "All Stars History Chart" >
< / a >
< / p >