Skip to content

Instantly share code, notes, and snippets.

@ChrisColeTech
Last active September 2, 2024 01:29
Show Gist options
  • Save ChrisColeTech/2df13aee74f7e8e515378cc861168f04 to your computer and use it in GitHub Desktop.
Save ChrisColeTech/2df13aee74f7e8e515378cc861168f04 to your computer and use it in GitHub Desktop.
How to add BULK file upload to Fooocus

NOTE: This requires TKinter for the file dialog.

The code will download and install the dependency for you on first launch.

Before starting, please back up the following files:

  • webui.py

  • modules/async_worker.py

(Just rename them to webui_old.py and async_worker_old.py)

  1. Download the source files form here:

https://github.com/ChrisColeTech/Fooocus/releases

1

Make sure Fooocus is not running

  1. Extract, then copy the files to your Fooocus directory:

Fooocus_win64_2-1-831\Fooocus\

2

  1. Start Fooocus, select the Enhance checkbox:

3

Bulk Enhance/File Upload is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment