toutjavascript / Fooocus-Log-Viewer

Fooocus Log Viewer : easy explorer of all your images and prompts from Fooocus UI
Apache License 2.0
42 stars 4 forks source link

Feature Request: Compatibility with Stability Matrix Shared Output Folder #27

Open RaulMarq opened 3 months ago

RaulMarq commented 3 months ago

Currently, if you set Fooocus to a shared output folder in the Stability Matrix options, the log viewer straight up stops working, and it shows the following error:

{"detail":"File not allowed: outputs/viewer.html."}

I've tried moving the required files to the shared output folder, but that did nothing.

As of right now, the only known way to make it work with Stability Matrix that I was able to find online is to disable shared outputs, but I personally really like having all my outputs from different SD UIs in a single place, so that would be a most welcome feature, if at all possible to implement.

SouthbayJay commented 3 months ago

https://github.com/toutjavascript/Fooocus-Log-Viewer/discussions/26

RaulMarq commented 3 months ago

26

I did check that issue before posting this, but that unfortunately doesn't apply to the shared output folder. The issue described in https://github.com/toutjavascript/Fooocus-Log-Viewer/discussions/26 refers to using Fooocus inside Stability Matrix, but not making use of a shared output folder. The method the OP there came up with is the same I found elsewhere on the Internet and it does work if you're not using a shared output folder, but it does not work if you use one.