AllergictoCrustaceans / cli

Generate an art-piece or a joke from the command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate Artpiece or Joke from the CLI

Exactly what the header says! :D

This is a CLI application and the main.py module is a code sample of how to use InquirerPy to create a more user-friendly CLI app flow.

How to Use:

  1. git clone the repo above
  2. Run python main.py on the terminal
  3. Follow the instructions!

Libraries and services used:

  • InquirerPy -- to add a more user-friendly CLI UX experience
  • HuggingFace models (dadsaysjokes, and stable-diffusion-v1-5)
    1. dadsaysjokes - a transformer model that generates a joke based on the starter text the user provides
    2. stable diffusion model - a text-to-image diffusion model generates an art piece based on the prompt the user provides

Motivation Behind this Project:

I wanted to dispell my anxiety around building a CLI app, so the best way to do it is to build one. This may be a simple one (and it doesn't even use argparse!), but starting off simple is the first step to getting comfortable with the uncomfortable, the complex, and the bigger CLI applications. Hoping to expand this in the future!

About

Generate an art-piece or a joke from the command line


Languages

Language:Python 100.0%