Gemini Content Generator is a web application that enables users to create text and image content using Google's Gemini models.
- Text Generation: Utilize the Gemini Pro model to generate text based on a prompt.
- Vision-Based Responses: Upload images to generate vision-based responses using the Gemini Pro Vision model.
- React: Frontend framework for crafting user interfaces.
- TypeScript: A typed superset of JavaScript that compiles to plain JavaScript, enhancing code quality and reliability.
- Axios: Promise-based HTTP client for facilitating requests to the server.
- Flask: Backend framework for constructing web applications in Python, offering flexibility and scalability.
- Google GenerativeAI: API for accessing Google's advanced generative models, powering the core functionality of the application.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/AriajSarkar/Chaemini-Ai.git
-
Install backend dependencies:
cd server
cp .env.example .env
python -m venv venv
On Windows:
venv\Scripts\activate
On Unix or MacOS:
source venv/bin/activate
For Deactivate:
Deactivate
pip install -r requirements.txt
python gapp.py
(Optional) If you want to install new dependencies:
pip install --upgrade --force-reinstall -r requirements.txt
-
Install frontend dependencies:
cd web npm install npm run dev
Contributions are welcome! Please adhere to the following steps:
-
Fork the repository.
-
Create a new branch
(
git checkout -b feature-branch
). -
Make your changes.
-
Commit your changes
(
git commit -am 'Add new feature'
). -
Push to the branch
(
git push origin feature-branch
). -
Create a new Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to customize this README.md file further according to your project's specific details and requirements.
- The
venv
directory is a virtual environment used to isolate the project's dependencies from the system's installed packages. - The
gapp.py
script is the entry point for the Flask application. - The
requirements.txt
file lists the required Python packages for the project. - The
npm install
command installs the necessary Node.js packages for the frontend application. - The
npm run dev
command starts the development server for the frontend application.