This repository contains some examples of EMF projects. Any of the projects are created with the emf-cli.
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:
- Run the project using python venv
Bind the python venv
Then run the project
source .venv/bin/activate
python main.py
- Build the project and run it
This will generate an executable file in the
emf-cli build
dist
folder. Check docs for more information.
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.
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.
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.