Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Open Output Folder / Github link / Setup Page #195

Open
KrX3D opened this issue Aug 18, 2023 · 7 comments
Open

Feature Request: Open Output Folder / Github link / Setup Page #195

KrX3D opened this issue Aug 18, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@KrX3D
Copy link

KrX3D commented Aug 18, 2023

hi,

  1. i think it would be nice to have a button to open the output folder ---> PATH\Fooocus\outputs
  2. i also would like a github link somewhere on the page, so navigating here would be easier
  3. like the advance tab i would like a setup page? where we could select a custom path for checkpoints, loras embeddings etc. in future there maybe could be added more stuff which can be customized (DarkMode)?
@barepixels
Copy link

barepixels commented Aug 18, 2023

Instead of having multiple copies of checkpoints, lora,s embeddings TI, I keep them in one central place on my fastest SSD drive (This will make loading faster) then I learn from MoonRide303 that I can make a symbolic link to my SSD's checkpoints and loras folders. I followed this Youtube https://youtu.be/RDH5IuyPJtk and it works wonderfully

@KrX3D
Copy link
Author

KrX3D commented Aug 18, 2023

thats what i already have. everything at locaton X and A1111, invoke etc pointing to that location. and thats what i what i would also like for Fooocus

EDIT: i like to set a path instead of an symbolic link / shortcut etc

@barepixels
Copy link

barepixels commented Aug 19, 2023

Well symbolic link is not that reliable. Once in a while, Fooocus like to delete them. For example:

I try to generate without using Refinner.
Fooocus crash
I closed the CMD window and browser tab
Relaunch the run.bat
Fooocus delete the Symbolic link and tried to download the safetensors

@barepixels
Copy link

barepixels commented Aug 19, 2023

quote: i like to set a path instead of an symbolic link / shortcut etc

I think a quick hack would be editing modules/path.py

modelfile_path = os.path.abspath(os.path.join(os.path.dirname(file), '../models/checkpoints/'))
lorafile_path = os.path.abspath(os.path.join(os.path.dirname(file), '../models/loras/'))
temp_outputs_path = os.path.abspath(os.path.join(os.path.dirname(file), '../outputs/'))

Please report back if this work for you

@KrX3D
Copy link
Author

KrX3D commented Aug 19, 2023

hi, that worked nicely.

but i neded to change the path from i.e.

C:\Models to C:/Models

so \ -> /

or else it did not work and i got an error.

also this will be removed agin at the next update right?

thats why a setup page would be awesome

@barepixels
Copy link

also this will be removed agin at the next update right?
YES

thats why a setup page would be awesome
YES

@mashb1t mashb1t added the enhancement New feature or request label Jan 1, 2024
@AgentHitmanFaris
Copy link

Did you mean something like this
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants