g-hano/Gemini-to-Image

A versatile tool that leverages Google's LLM Gemini, along with HuggingFace models, to generate text and images based on user prompts. It utilizes Langchain for text generation and Hugging Face models for image generation. The project consists of a Streamlit GUI interface where users can interact with the generated content.

9

stars

8

commits

Python

primary language

Mar 3, 2024

updated

ai
gemini
google
llm
rag

README

Gemini-to-Image

Overview

It is a versatile tool that leverages Google's LLM Gemini, along with HuggingFace models, to generate text and images based on user prompts. It utilizes Langchain for text generation and Hugging Face models for image generation. The project consists of a Streamlit GUI interface where users can interact with the generated content. Users can upload their own images and provide prompts to generate customized images and text outputs. Check imgs folder for usage video.

img2img

Features

  • Accepts user prompts via text input.
  • Utilizes Google's Gemini via Langchain to generate enhanced prompts based on user input.
  • Generates images based on user prompts.
  • Allows users to upload their own images and provides prompts to generate customized images and text outputs.

Requirements

  • Dependencies listed in requirements.txt

Installation

  1. Clone the repository:
git clone https://github.com/g-hano/Gemini-to-Image.git
  1. Navigate to the project directory:
cd Gemini-to-Image
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Run the Streamlit app:
streamlit run app.py
  1. Access the Streamlit interface in your web browser.

Screenshots

GUI

Acknowledgements

License

MIT

Contributors

g-hano

8 commits

g-hano/Gemini-to-Image

A versatile tool that leverages Google's LLM Gemini, along with HuggingFace models, to generate text and images based on user prompts. It utilizes Langchain for text generation and Hugging Face models for image generation. The project consists of a Streamlit GUI interface where users can interact with the generated content.

9

stars

8

commits

Python

primary language

Mar 3, 2024

updated

ai
gemini
google
llm
rag

README

Gemini-to-Image

Overview

It is a versatile tool that leverages Google's LLM Gemini, along with HuggingFace models, to generate text and images based on user prompts. It utilizes Langchain for text generation and Hugging Face models for image generation. The project consists of a Streamlit GUI interface where users can interact with the generated content. Users can upload their own images and provide prompts to generate customized images and text outputs. Check imgs folder for usage video.

img2img

Features

  • Accepts user prompts via text input.
  • Utilizes Google's Gemini via Langchain to generate enhanced prompts based on user input.
  • Generates images based on user prompts.
  • Allows users to upload their own images and provides prompts to generate customized images and text outputs.

Requirements

  • Dependencies listed in requirements.txt

Installation

  1. Clone the repository:
git clone https://github.com/g-hano/Gemini-to-Image.git
  1. Navigate to the project directory:
cd Gemini-to-Image
  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Run the Streamlit app:
streamlit run app.py
  1. Access the Streamlit interface in your web browser.

Screenshots

GUI

Acknowledgements

License

MIT

Contributors

g-hano

8 commits

Languages

Python

100.0%