Giter Site home page Giter Site logo

yourvision's Introduction

banner

YourVision: AI-powered image editor

preview

Application features

Smart Mask with Segment Everything
Configurable editing tools
preview
Optimized for desktop and mobile
preview
Dark theme support
preview
Gallery with the generated images
preview
Plugin support
preview

Some plugins are already available:

Instalation

First, you will need python v3.10.6 and nodejs v18.16.0 with yarn.

  1. Clone the repository with:

     git clone https://github.com/obraia/YourVision.git
    
  2. Create and active a python development environment with:

     python -m venv venv
     source .venv/bin/activate or .venv/bin/activate (windows)
    
  3. Install the python dependencies with:

     pip install -r requirements.txt
    
  4. Install pytorch for your system NVIDIA/AMD GPU or CPU:

    NVIDIA GPU:

     pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117
    

    AMD GPU (only linux for now)

    Obs: You will need the latest version of ROCm installed on your linux

     pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/rocm5.4.2
    

    CPU

     pip install torch torchvision torchaudio --extra-index-url --extra-index-url https://download.pytorch.org/whl/cpu
    
  5. You will need to convert .ckpt or .safetensors checkpoints to diffusers with the following command:

     python scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path "path/to/checkpoint.ckpt" --original_config_file "api/weights/sd/inferences/<inference>.yaml" --dump_path "api/weights/sd/diffusers/<diffusers-name>/" --device="cuda:0"
    
  6. Now run the api with:

     python api/app.py
    
  7. To install the front-end dependencies:

     cd gui/ & yarn install
    
  8. And start the application:

     yarn start
    

Features to be implemented in the future

  • Install script
  • Auto conversion of .ckpt and .safetensors models
  • Translation support (Interface and Prompts)
  • Page with application settings
  • Generated images gallery
  • Creation of shortcuts for the interface
  • Support for predefined generation filters
  • Create layer system
  • Plugins support

Credits

yourvision's People

Contributors

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