Out of AI presents a flexible tool in Gradio to manipulate your images. This is our first version of Image modification tool through prompt manipulation by reconstruction through diffusion inversion process. We recommend running it on GPU with at least 15GB VRAM and preferably a A100 GPU for the best experience.
outoffocus.mp4
git clone https://github.com/OutofAi/OutofFocus.git
cd OutofFocus
After downloading the project and navigating to the correct folder
Install dependencies:
pip install -r requirements.txt
Run the app
python app.py
If you running on a GPU with less than 15GB VRAM, you could try the --enable_low_memory argument when starting the app, the test we ran we managed to run it with 11GB VRAM when enable_low_memory was turned on
If you face any dependency, token or cuda issues we higly recommend running it in a virtual environment.
To run it in a virtual environment use these commands instead, after downloading the project and navigating to the correct folder
Create a virtual environment:
python -m venv venv
Activate the environment:
Windows:
.\venv\Scripts\activate
macOS/Linux:
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Run the app in virtual environment:
python app.py
If you want to run it on Colab make sure you got a GPU notebook enabled (Views->Notebook Info) a A100 GPU or a L4 GPU and run the following commands
!git clone https://github.com/OutofAi/OutofFocus
%cd OutofFocus
!pip install -r requirements.txt
!python app.py --share