File size: 862 Bytes
63f41da
1f2d5dc
83f07c9
63f41da
 
 
b028409
63f41da
697dbfe
63f41da
 
6c15340
8942115
 
 
 
 
966cb16
8942115
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
title: LEDITS
emoji: ✏️
colorFrom: gray
colorTo: blue
sdk: gradio
sdk_version: 3.37.0
app_file: app.py
pinned: true
---

This is the repository for [LEDITS - Real Image Latent Editing with Edit Friendly DDPM and Semantic Guidance](arxiv.org/abs/2307.00522).  More information about the technique [here](https://editing-images-project.hf.space)

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