Skip to content

easy-model-fusion/demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMF Project demos

This repository contains some examples of EMF projects. Any of the projects are created with the emf-cli.

Run

To run the projects, you need to have the emf-cli installed - see How to install emf-cli.

Walk to the folder of the project you want to run and execute the following command:

emf-cli install

This will install the missing dependencies and models.

You then have two options to run the project:

  1. Run the project using python venv Bind the python venv
    source .venv/bin/activate
    Then run the project
    python main.py
  2. Build the project and run it
    emf-cli build
    This will generate an executable file in the dist folder. Check docs for more information.

Demo 1: Simple GUI to generate stable diffusion images

This demo is a simple GUI app that contains a prompt, a button, and an image. The prompt asks the user to enter some text, and the button generates a diffusion image with the text entered.

The model used is stabilityai/stable-diffusion-xl-base-1.0 available here.

Demo 2: Simple GUI to generate conversation

This demo is a simple GUI app that contains a prompt, a button, and a text. The prompt asks the user to enter some text, and the button generates a conversation with the text entered.

The model used is microsoft/phi-2 available here.

Demo 3: Simple GUI to generate stable diffusion images from a generated prompt

This demo is also a simple GUI app that contains a prompt, a button, and an image.

It allows users to generate a text prompt for an image using the FredZhang7/anime-anything-promptgen-v2 available here, the output is then fed to the stabilityai/stable-diffusion-xl-base-1.0 available here for an image generation.

About

Provides a variety of EMF project demonstrations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages