maagledits / README.md
renan3989's picture
Duplicate from editing-images/ledits
b637f7a

A newer version of the Gradio SDK is available: 5.4.0

Upgrade
metadata
title: LEDITS
emoji: ✏️
colorFrom: gray
colorTo: blue
sdk: gradio
sdk_version: 3.36.1
app_file: app.py
pinned: true
duplicated_from: editing-images/ledits

This is the repository for LEDITS - Real Image Latent Editing with Edit Friendly DDPM and Semantic Guidance. More information about the technique here

This repository contains the following relevant files:

  • app.py - Gradio application for the inversion technique combining uploading an image, captioning it, doing the DDPM Inversion and applying SEGA concepts to the editing.
  • constants.py - default config values for the app.py
  • inversion_utils.py - utilities for providing the DDPM Inversion
  • modified_pipeline_semantic_stable_diffusion.py - modified pipeline of SEGA for the purposes of LEDITS
  • utils.py - generic useful utils for the app