Skip to content

This repository contains code for a Text to Image Generator using OpenAI's Dall-E and Gradio.

License

Notifications You must be signed in to change notification settings

arham-kk/text-to-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Text to Image Generator

This repository contains code for a Text to Image Generator using OpenAI's Dall-E and Gradio.

image

Installation

  1. Clone the repository:
git clone https://github.com/arham-kk/text-to-image.git

Install the required dependencies:

pip install openai gradio Pillow

Usage

Set your OpenAI API key in the generate_image function inside the main.py file:

openai.api_key = 'ENTER OPENAI KEY'

Run the application:

python app.py

Access the Text to Image Generator through your browser:

http://localhost:7860/

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This repository contains code for a Text to Image Generator using OpenAI's Dall-E and Gradio.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages