/Gemini-Pro-Python-Lab

Test out what Google's Gemini Pro can do for you.

Primary LanguagePython

Gemini-Pro-Python-Laboratory

This code is a Python program that creates a graphical user interface (GUI) for chatting with Gemini-Pro, a chatbot developed by Google. The GUI includes a welcome label, a chat history text box, a user input entry box, a send button, and a clear button. The chat history and user input entry box are styled with custom fonts and colors.

To use this code:

  1. Nothing complex here, simply copy my repo or just the gemini.py file.
  2. Install the required Python libraries using the pip command:
pip install tkinter google.generativeai IPython
  1. Open a terminal or command prompt and navigate to the directory where the Python file is saved.
  2. Run the following command to start the GUI:
python gemini.py
  1. The GUI will open, and you can start chatting with Gemini-Pro by typing your messages in the user input entry box and clicking the send button.

A screenshot of the GUI is attached below:

My image

I hope this explanation is clear and helpful! Let me know if you have any other questions.