An open API service indexing awesome lists of open source software.

https://github.com/subho004/batgpt

A Flask-based web application that brings Batman's charm to your conversations. Send an image or text, and Batman will share a Bat-fact with a subtle, dark remark.
https://github.com/subho004/batgpt

ai batman bootstrap chatbot dark-humor flask generative-ai jquery machine-learning python vertex-ai web-application web-development

Last synced: 18 days ago
JSON representation

A Flask-based web application that brings Batman's charm to your conversations. Send an image or text, and Batman will share a Bat-fact with a subtle, dark remark.

Awesome Lists containing this project

README

          

BatChat: The Dark Conversations

## πŸ“‹ Table of Contents

1. πŸ€– [Introduction](#introduction)
2. βš™οΈ [Tech Stack](#tech-stack)
3. πŸ”‹ [Features](#features)
4. 🀸 [Quick Start](#quick-start)
5. πŸ•ΈοΈ [Video Demo](#video)
6. πŸ”— [Screenshots](#image)
7. πŸ“– [Reference](#reference)
8. πŸ’πŸ½ [Contributing](#contribute)

## πŸ€– Introduction
BatChat is a Flask-based web application that brings Batman's charm to your conversations. Send an image or text, and Batman will share a Bat-fact with a subtle, dark remark.

## βš™οΈ Tech Stack

- **Web Framework:** Flask
- **Frontend:** HTML, CSS, Bootstrap
- **JavaScript Library:** jQuery
- **AJAX Library:** jQuery
- **Back-end:** Python
- **Generative AI:** Google's Vertex AI, Gemini-pro-vision, gemini-pro
- **Version Control:** Git
- **Hosting:** Localhost (for development), Heroku, AWS, or Google Cloud (for deployment)
- **Database (Optional):** SQLite or any preferred database
-
## πŸ”‹ Features

- Batman-themed chatbot.
- Upload an image for a Bat-fact.
- Receive funny, sarcastic notes from Batman.
- Send a text and get detailed explanation.
- Get image details in the most innovative way

## 🀸 Quick Start

1. **Clone the repository:**

```bash
git clone https://github.com/subho004/BatGPT.git
```

2. **Navigate to the project folder:**

```bash
cd BatGPT
```

3. **Set up a virtual environment:**

```bash
python3 -m venv venv
```

4. **Activate the virtual environment:**

- On Windows:

```bash
.\venv\Scripts\activate
```

- On macOS/Linux:

```bash
source venv/bin/activate
```

5. **Install Dependencies**

```bash
pip install Flask
pip install marko google-generativeai
```

6. **Set up the environment variable for your API key:**

- Log in to your [Google AI](https://makersuite.google.com/) Studio account.
- Create a new API KEY.
- Note the API Key in a secure location.

```bash
export API_KEY=your_api_key
```

7. **Run the application:**

```bash
python app.py
````

8. **Use the application**
Open your web browser and go to ```http://localhost:8080``` to access BatChat.

## πŸŽ₯ Video Demo

### Version 2.0

https://github.com/subho004/BatGPT/assets/91646273/96cab8fb-1e3e-41f3-af28-7976892f1321

### Version 1.0
https://github.com/subho004/BatChat/assets/91646273/76fcc069-2372-4f33-8953-55dc055a5513

## πŸ“± Screenshots

### Version 2.0
Screenshot 2024-01-14 at 6 10 06β€―PM
Screenshot 2024-01-14 at 6 11 17β€―PM
Screenshot 2024-01-14 at 6 31 47β€―PM
Screenshot 2024-01-14 at 6 32 09β€―PM
Screenshot 2024-01-14 at 6 34 24β€―PM
Screenshot 2024-01-14 at 6 32 52β€―PM
Screenshot 2024-01-14 at 6 33 58β€―PM
Screenshot 2024-01-14 at 6 34 41β€―PM

### Version 1.0
Screenshot 2024-01-14 at 12 47 37β€―PM

## πŸ“– Reference

[Google CodeLab
](https://xprilion.com/codelab/gemini-pro-vision-multimodal-python-flask-generative-ai-example/#0)
## πŸ’πŸ½ Contributing

Contributions are welcome! If you have ideas for new features, improvements, or find any issues, feel free to open an issue or submit a pull request.