From 2619fc8fc2fb1bc731146c795285f5f16acf4d16 Mon Sep 17 00:00:00 2001 From: filipstrand Date: Mon, 23 Sep 2024 23:41:30 +0200 Subject: [PATCH 1/3] Add MIT License --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3a493f8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Filip Strand + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file From 59aafae7a16361c8fcf5277612fa214755bafe8e Mon Sep 17 00:00:00 2001 From: filipstrand Date: Mon, 23 Sep 2024 23:45:19 +0200 Subject: [PATCH 2/3] Update README with MIT License information --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c5fb192..a048de2 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Run the powerful [FLUX](https://blackforestlabs.ai/#get-flux) models from [Black - [🕹ī¸ Controlnet](#%EF%B8%8F-controlnet) - [🚧 Current limitations](#-current-limitations) - [✅ TODO](#-todo) +- [License](#license) @@ -498,3 +499,7 @@ with different prompts and LoRA adapters active. - [ ] Establish unit test suite - [ ] LoRA fine-tuning - [ ] Frontend support (Gradio/Streamlit/Other?) + +### License + +This project is licensed under the [MIT License](LICENSE). \ No newline at end of file From 8bcf0d76023fdf7679c608509ae5819a3f08188f Mon Sep 17 00:00:00 2001 From: filipstrand Date: Mon, 23 Sep 2024 23:46:23 +0200 Subject: [PATCH 3/3] Add license metadata to pyproject.toml --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7e4fd83..15959e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ readme = "README.md" keywords = ["diffusers", "flux", "mlx"] authors = [{ name = "Filip Strand", email = "strand.filip@gmail.com" }] maintainers = [{ name = "Filip Strand", email = "strand.filip@gmail.com" }] +license = { file = "LICENSE" } requires-python = ">=3.10" dependencies = [ "huggingface-hub>=0.24.5,<1.0",