/Image-Generator

Deplyoing machine learning Web App which utilises OpenAI API to generate image based on text description of the image.

Primary LanguagePython

Image-Generator

Deplyoing machine learning Web App which utilises OpenAI API to generate image based on text description of the image.
To Deploy the web app in your local system first install dotenv library by

pip install python-dotenv

and then paste your API key in .env file. Now open command line and write the following code

streamlit run "{Complete path of the .py file}"

Somewhat like this :

image

This then runs the web app on your localhost.

Recording.2023-03-21.212237.mp4

The file named "requirements.txt" helps to deploy the project online. It contains all the libraries used in this project.