Python Bot Lucky Chat - A Web App powered by Gemini A web application that allows users to chat with an AI assistant called Lucky. Lucky is powered by Google's generative language model, Gemini.
Features:
Users can type messages and receive responses from Lucky. Lucky can answer questions, generate creative text formats, and translate languages. The chat window displays timestamps for both user and Lucky messages. Requirements:
Python 3.x Flask framework requests library
Installation:
Clone this repository.
Install required dependencies:
Bash pip install Flask requests Use code with caution.
Replace the placeholder AIzaSyDJPbfw2UmiElw9xfZ8y8lIUcx96ghu5dw in the API_KEY variable with your own Gemini API key.
Running the application:
Start the development server:
Bash python app.py Use code with caution.
Open http://127.0.0.1:5000/ in your web browser.
Usage:
Type your message in the chat window. Press Enter or click the Send button to send your message. Lucky will process your message and respond with a text message.
For more info Https://wa.me/256779654710