This project introduces an interactive chatbot with a modern and intuitive interface, built using PySimpleGUI and the Gemini API. It allows users to engage in smooth conversations with an AI in a simple and effective way.
- π§ Integration with the
gemini-1.5-pro-latestmodel, providing context-aware and intelligent responses - π¬ Visible chat history, ensuring a realistic chat experience
- πͺ Input field with automatic message sending and instant clearing
- π¨ Clean interface including:
- Project title
- Chatbot representative image
- Input field and send button
- π Automatic and organized shutdown when the window is closed
-
Clone the repository:
git clone https://github.com/your-username/chatbot-gemini.git cd chatbot-gemini -
Install dependencies:
pip install PySimpleGUI
pip install google-generativeai
-
Run the program:
python chatbot.py
π¦ chatbot-gemini
β£ π chatbot.py
β£ π buttons.py
β£ π README.md
β£ π requirements.txt
β π¦ assets/
β πΌοΈ chatbot.png
- Python
- PySimpleGUI
- Gemini API
- PIL (Pillow) for image handling (if necessary)
This project is licensed under the MIT license.
Feel free to contribute, open issues, or suggest improvements! π
