AI tool that allows user to generate captions for social media using the images.
Link to demo video
This is the overall flowchart of the assignment
Assuming Node and python is installed on the device.
-
Open terminal in
server
folder. -
Type
pip install -r requirements.txt
in the terminal and press enter. -
Create a
.env
file in the server folder and write this in it:OPENAI_KEY=<YOUR KEY>
You need to generate a key from OpenAI and use it here
- Type
python app.py
in the terminal and press enter - It takes some time to initialize the server as it loads the models. Once loaded we can begin setting up client.
- Open terminal in
client
folder. - Type
npm i --force
in the terminal and press enter. - Type
npm run dev
in the terminal and press enter. - Wait for it to run and open the localhost URL