Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msull/emilytarot
AI Tarot Readings powered by Streamlit and GPT
https://github.com/msull/emilytarot
gpt python streamlit streamlit-application
Last synced: 2 months ago
JSON representation
AI Tarot Readings powered by Streamlit and GPT
- Host: GitHub
- URL: https://github.com/msull/emilytarot
- Owner: msull
- License: mit
- Created: 2023-06-01T16:36:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-19T20:28:24.000Z (6 months ago)
- Last Synced: 2024-07-20T01:23:16.774Z (6 months ago)
- Topics: gpt, python, streamlit, streamlit-application
- Language: Python
- Homepage: https://emilytarot.com
- Size: 30.3 MB
- Stars: 15
- Watchers: 4
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emily Tarot
Emily Tarot is a techno-mystic project that leverages OpenAI's GPT-3.5-turbo for generating Tarot card readings. This
project was designed as an experiment to learn Streamlit and to explore working with large language models for custom
applications. Hosted at [EmilyTarot.com](http://emilytarot.com).> Note: This project is now using the incredible GPT-4-omni-mini model!
## Features
* User Interface: The project uses Streamlit to create a visually engaging and intuitive interface for the users to
interact with.
* Techno-Mystic Experience: Users are guided through a Tarot reading session where they can choose from a virtual deck
of Tarot cards or use their own physical deck.
* AI Interaction: The selected cards and user's questions are processed by OpenAI's GPT-3.5-turbo model to generate a
personalized Tarot reading.
* Session Persistence: The state of the current session is maintained across Streamlit reruns, providing a continuous
experience to the user.
* Moderation: The user's input is checked and moderated for any inappropriate content, terminating the session and
displaying crisis resources when user content is flagged
* Docker Support: A Dockerfile and docker-compose files are included to facilitate the deployment and running of the
application.## Usage
To run Emily Tarot locally, follow these steps:
1. Clone this repository.
2. Install the dependencies: `pip install -r requirements.txt`
3. Set up environment variables `SESSION_DIR` and `OPENAI_SECRET_KEY`.
4. Use `cd src && streamlit src/streamlit_app.py` to start the Streamlit application.
5. Navigate to `http://localhost:8501` in your web browser to interact with Emily Tarot.To build and run Emily Tarot with Docker:
1. `docker-compose build`
2. `docker-compose up`
3. The application should be available at `http://localhost:9999`.## License
This project is licensed under the terms of the MIT license.