Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

ImageBot

ImageBot, much like chatbots powered by LLMs, is adept at fulfilling user requests by generating images based on their prompts. ImageBot's primary function is to interpret prompts and generate corresponding visual content, making it a valuable tool for image generation.

Getting Started

To get started with this project, you'll need to clone the repository and set up a virtual environment. This will allow you to install the required dependencies without affecting your system-wide Python installation.

Cloning the Repository

git clone https://github.com/jkmathilda/ImageBot.git

Setting up a Virtual Environment

cd ./ImageBot

pyenv versions

pyenv local 3.11.6

echo '.env'  >> .gitignore
echo '.venv' >> .gitignore

ls -la

python -m venv .venv        # create a new virtual environment

source .venv/bin/activate   # Activate the virtual environment

python -V                   # Check a python version

Install the required dependencies

pip install -r requirements.txt

Configure the Application

To configure the application, there are a few properties that can be set the environment

echo 'OPENAI_API_KEY="sk-...."' >> .env

Running the Application

python -m streamlit run main.py

Deactivate the virtual environment

deactivate

Example

Image 2023-12-26 at 1 08 PM

Reference

OpenAI Guide

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages