From f76c99bbef33bb92b8872f0f53500a2a7afd3092 Mon Sep 17 00:00:00 2001 From: scraed Date: Mon, 3 Mar 2025 09:54:09 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/README.md b/README.md index 4d631fa..d036828 100644 --- a/README.md +++ b/README.md @@ -62,42 +62,6 @@ Fine-tune results with these key parameters: | `StepSize` | 0.05-0.2 | Detail refinement intensity | -## Develop - -To install the dev dependencies and pre-commit (will run the ruff hook), do: - -```bash -cd LanPaint -pip install -e .[dev] -pre-commit install -``` - -The `-e` flag above will result in a "live" install, in the sense that any changes you make to your node extension will automatically be picked up the next time you run ComfyUI. - -## Publish to Github - -Install Github Desktop or follow these [instructions](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) for ssh. - -1. Create a Github repository that matches the directory name. -2. Push the files to Git -``` -git add . -git commit -m "project scaffolding" -git push -``` - -## Writing custom nodes - -An example custom node is located in [node.py](src/LanPaint/nodes.py). To learn more, read the [docs](https://docs.comfy.org/essentials/custom_node_overview). - - -## Tests - -This repo contains unit tests written in Pytest in the `tests/` directory. It is recommended to unit test your custom node. - -- [build-pipeline.yml](.github/workflows/build-pipeline.yml) will run pytest and linter on any open PRs -- [validate.yml](.github/workflows/validate.yml) will run [node-diff](https://github.com/Comfy-Org/node-diff) to check for breaking changes - ## Publishing to Registry If you wish to share this custom node with others in the community, you can publish it to the registry. We've already auto-populated some fields in `pyproject.toml` under `tool.comfy`, but please double-check that they are correct. From da6961ece7629424c7f30011c8620baa70e7e081 Mon Sep 17 00:00:00 2001 From: scraed Date: Mon, 3 Mar 2025 10:01:58 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index d036828..6b387cc 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,22 @@ Fine-tune results with these key parameters: | `Lambda` | 4-8 | Content preservation strength | | `StepSize` | 0.05-0.2 | Detail refinement intensity | +## Citation + +If you use LanPaint in your research or projects, please cite our work: + +```bibtex +@misc{zheng2025lanpainttrainingfreediffusioninpainting, + title={Lanpaint: Training-Free Diffusion Inpainting with Exact and Fast Conditional Inference}, + author={Candi Zheng and Yuan Lan and Yang Wang}, + year={2025}, + eprint={2502.03491}, + archivePrefix={arXiv}, + primaryClass={eess.IV}, + url={https://arxiv.org/abs/2502.03491}, +} +``` + ## Publishing to Registry From 4cb2ab6594d660dd4ba4dec112acee61a7df398a Mon Sep 17 00:00:00 2001 From: scraed Date: Mon, 3 Mar 2025 10:03:52 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b387cc..5b7b7b8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LanPaint -Powerful Training Free Inpainting Tool Works for Every SD Model. +Powerful Training Free Inpainting Tool Works for Every SD Model. Official Implementation of "Lanpaint: Training-Free Diffusion Inpainting with Exact and Fast Conditional Inference". ## Features