Giter Site home page Giter Site logo

prompt-master's Introduction

prompt-master's People

Contributors

hoblin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kp-forks

prompt-master's Issues

UI improvements request

Hello, great app !
But the UI could be improved. Here are UI some improvements I'm thinking to.

  • Progress indicator: the loading time when switching from a category to another can take a few seconds, a progress indicator or a just loading wheel should provide a better user experience.
  • Indicator on the filter button in the header to indicate that filters are set. I was browsing a catagery and filtered on the rating then navigate to another category and nothing get displayed. It took me more than a minute to realize that it was because of an active filter :) Ok, now I know it but that could be improved. A filter badge number on the filter button like on Civitai for example.
  • Browser autolaunch when the app is ready after adding new categories to stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration I called the UI just after starting the app, but it tooks up to 2-3 minutes for the webui to be accessible. Either make the webui accessible at the beguinning of launch it automatically when the app is fully loaded or finished to read the new categories
  • Search feature explanation I can't tell if the search feature works as designed or not, if yes it should be explained. Ex, if I search in the artist category for adam or "adam" (with the quote), it first display everything that fully contains "adam" in it, perfect, but also anything that contains a part of it like panamaman or ken akamatsu. It's a nice feature if working by design but should be explained somewhere and should give an option to search for the exact name.

But really great app that works anyway better than the inspiration extension, real source of inspiration !

Migrate to local file storage

Import images instead of using inspiration folder.
Use local file storage http://fog.io/storage/

TODO:

  • Move all files operations from Tag and Category models to Utilities
  • Convert Image to AR model + add image file field + file hash script with index for the import process
  • Change import script to collect file hashes, search image files in Images by hashes, and import new files into local file storage

Refresh issue when deleting a category or a sub folder from the inspiration folder

Hello,
I have categories defined as folders in stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration.
They are all displaid in Prompt Master.
I delete a category ( the full folder) from stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration, it is still displayed in PM.
The same happen when removing just a subset from a category folder (a sub folder containing the images).
Stopping and restarting the PM app from the docker doesn't refresh PM.

Sidekiq

Add sidekiq to docker, setup watch task to watch inspirations dir changes to run imports

Add PG docker

Add a docker container with Postgres, and make sure the volume is safe.

Migrate to React

  • Setup a minimal React build environment
  • Setup Store for Categories and Tags https://github.com/pmndrs/zustand
  • Setup antd
  • Minimal routing
  • Minimal API
  • Home page with categories list
  • Category page with Tags list
  • Tags scroll virtualization (๐Ÿฅณ)
  • Global slider for tags
  • Tag arrows slider
  • Image preview with sliding
  • Hide tag button
  • Featured tag button
  • #38
  • #39
  • Rate tag
  • Scroll to top button
  • Tags filtering
  • Tags sorting
  • Tags autocomplete search (float)
  • Replace UI with react app
  • #37
  • #36

Initial minimal rendering support

TODO:

  • API client for WebUI
  • UI:
    • positive
    • negative
    • steps
    • cfg
    • width
    • height
    • seed
  • HTTP exceptions handling
  • Prompt model (papertrail history)
  • Make Image tag_id a polymorphic association and associate images with prompt variants
  • Create images on response
  • UI for prompts feed (one prompt might have many images)

TODO for later:

  • progress polling. Once first response received setup a local timer with sync periods once per 1/4 of a total waiting time
  • batches support with local query (sidekiq? or something more simple) and requests one by one
  • Store full metadata in Image model
  • Cleanup inbound image meta if exists
  • When new image requested search DB for existing image with exact same parameters and show it instead of regenerating
  • Default settings support
  • Load checkpoints list and switch current checkpoint (associate with local checkpoints)
  • ...

Feature Request Subfolder Recognition

Hi :Thanks for the awesome app
Currently only wildcard.txt file name inspiration generation with its folder in Drive letter:\stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration are showing in prompt master
Exemple Your drive letter:\stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration\nationality

As i have Many model and embedding
I would like to request that if possible Promot-master recognise possible folder between the wildcard.txt file name and the inspiration root folder
Exemple Your drive letter:\stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\inspiration\inspiration\AnySubfolderHere\AnySubFolder ETC...\nationality
If it can . It would be a large boon to prompt-master

Thanks for reading and forgice me for any misspelling since english is not my primary language.

Checkpoints support

Add support to group categories/tags/images by SD Checkpoint name:

TODO:

  • Add Checkpoint model (name, optional hash)
  • UI to display checkpoints instead of categories (dropbox button)
  • UI option to move category to checkpoint
  • UI option to add Checkpoint with in-place form
  • UI option to remove Checkpoint (category/tags/images will not be deleted but move to unsorted)

Closes #23

Docker container does not build

Hey,
whenever i try to run docker compose up -d on the freshly pulled git repo i just get the following output:

[+] Running 0/1
 - Container prompt-master-app-1  Creating

I let it run for over 10 minutes, it does nothing.
My setup is an win 11 computer with the latest version of docker desktop
Thank you for your help

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.