Fooocus Lightning AI is a sophisticated project developed to significantly enhance focus and productivity through the use of advanced AI technologies. This repository provides comprehensive setup and configuration instructions for deploying and running the Fooocus AI system efficiently.
To get started with Fooocus Lightning AI, please follow the steps below:
Begin by cloning the repository to your local machine. Open your terminal and execute:
git clone https://github.com/epic-miner/fooocus-lightning-ai.git
cd fooocus-lightning-ai
This command will create a local copy of the repository and navigate you into the project directory.
Next, initiate the application by running the provided startup script:
sh start.sh
This script will set up the necessary environment and launch the Fooocus AI system. Monitor the terminal for any prompts or error messages during this process.
To fully utilize Fooocus Lightning AI, you need to download various models. Follow the instructions below based on the type of model you need:
To download Loras models, navigate to the models/loras
directory:
cd fooocus-lightning-ai/Fooocus/models/loras
Here you will find instructions or scripts to download the Loras models required for the system.
For downloading checkpoints, move to the models/checkpoints
directory:
cd fooocus-lightning-ai/Fooocus/models/checkpoints
This directory contains the necessary checkpoint files. Follow the provided guidelines or scripts for downloading these files.
If you experience issues with the Fooocus user interface, such as a blank screen, follow these troubleshooting steps to resolve the problem:
-
Update the Repository
Ensure you have the latest version of the repository by updating it:
cd fooocus-lightning-ai/ git fetch origin main # Fetch the latest changes from the remote main branch git merge origin/main # Merge the fetched changes into your current branch
This will synchronize your local repository with the latest updates.
-
Restart the Application
After updating, use this comand:
sh start.sh
-
Open a New Terminal
open a new terminal window.
-
Run the Cloudflared Command
Execute the following command to establish a tunnel:
cloudflared tunnel --url localhost:7865
This command will create a secure tunnel to the local server.
-
Access the Fooocus Web UI
After running the command, scroll through the terminal output to find a URL. Click on this URL to access the Fooocus web UI.
If you encounter any additional issues, refer to the documentation or reach out to the support team for further assistance.
To help you get started with Fooocus Lightning AI, we have created a comprehensive video tutorial that walks you through the setup and usage of the system. Watch the full tutorial below:
Watch the video tutorial by clicking the image below:
Click the image above or here to view the tutorial.
If you need visual guidance or run into any issues during setup, this video will provide the necessary instructions and insights.