GithubHelp home page GithubHelp logo

pratyush-exe / caption-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20.42 MB

AI tool that allows user to generate captions for social media using the images

JavaScript 39.26% HTML 2.47% CSS 23.03% Python 35.24%

caption-generator's Introduction

caption-generator

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

flowchart

Steps to use it

Assuming Node and python is installed on the device.

Setup Server

  1. Open terminal in server folder.

  2. Type pip install -r requirements.txt in the terminal and press enter.

  3. 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

  1. Type python app.py in the terminal and press enter
  2. It takes some time to initialize the server as it loads the models. Once loaded we can begin setting up client.

Setup client (UI)

  1. Open terminal in client folder.
  2. Type npm i --force in the terminal and press enter.
  3. Type npm run dev in the terminal and press enter.
  4. Wait for it to run and open the localhost URL

caption-generator's People

Contributors

pratyush-exe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.