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.
- Host: GitHub
- URL: https://github.com/subho004/batgpt
- Owner: subho004
- Created: 2024-01-14T07:24:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-14T14:19:45.000Z (over 1 year ago)
- Last Synced: 2025-03-17T01:44:28.071Z (7 months ago)
- Topics: ai, batman, bootstrap, chatbot, dark-humor, flask, generative-ai, jquery, machine-learning, python, vertex-ai, web-application, web-development
- Language: HTML
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.- **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 way1. **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.### 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### Version 2.0
![]()
![]()
![]()
![]()
![]()
![]()
![]()
### Version 1.0
[Google CodeLab
](https://xprilion.com/codelab/gemini-pro-vision-multimodal-python-flask-generative-ai-example/#0)
## ππ½ ContributingContributions 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.