Follow this step to run :
-
Clone this repo into your local computer.
-
Install the
requirements.txt
file. -
Here I use OS library to get my api key from environment variable, so in order to use by your end, go to openAI api and get your api key.
-
Now go to environment variable to set in user variable and click on new then paste the key there and name it
<OPENAI_API_KEY>
-
Now come back to your code and now just run this file.
-
You have four option in which :
- Text to image generator.
- Make variation of images.
- Ask for code of anything.
- Get done your query.
HOPE YOU WILL ENJOY IT!!🔥🔥
[NOTE] : This code will work for only windows based system. To run this code on mac or linux please specify the path or change the modules as per your os requirements.
~Dikshit singh