From b8102f2a2f40a2b37bfe414198648b33772a0f57 Mon Sep 17 00:00:00 2001 From: filipstrand Date: Fri, 6 Sep 2024 20:50:53 +0200 Subject: [PATCH] Move main.py and save.py one level down --- README.md | 4 ++-- main.py => src/mflux/main.py | 0 save.py => src/mflux/save.py | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename main.py => src/mflux/main.py (100%) rename save.py => src/mflux/save.py (100%) diff --git a/README.md b/README.md index 07700f3..6cd1e30 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ like [Numpy](https://numpy.org) and [Pillow](https://pypi.org/project/pillow/) f ``` ### Generating an image -Run the provided [main.py](main.py) by specifying a prompt and some optional arguments like so using the `schnell` model: +Run the provided [main.py](src/mflux/main.py) by specifying a prompt and some optional arguments like so using the `schnell` model: ``` python main.py --model schnell --prompt "Luxury food photograph" --steps 2 --seed 2 -q 8 @@ -116,7 +116,7 @@ image = flux.generate_image( image.save(path="image.png") ``` -For more options on how to configure MFLUX, please see [main.py](main.py). +For more options on how to configure MFLUX, please see [main.py](src/mflux/main.py). ### Image generation speed (updated) diff --git a/main.py b/src/mflux/main.py similarity index 100% rename from main.py rename to src/mflux/main.py diff --git a/save.py b/src/mflux/save.py similarity index 100% rename from save.py rename to src/mflux/save.py