TencentARC / PhotoMaker

PhotoMaker [CVPR 2024]
https://photo-maker.github.io/
Other
9.59k stars 769 forks source link

Any way to change the output path of the demo and not have all images disappear? #136

Closed sfisher closed 8 months ago

sfisher commented 8 months ago

Is there a way set an outputs directory and not have it delete images after each generation? (Like Automatic 1111). I see paths like C:\Users\<name>\AppData\Local\Temp\gradio\tmp704x6qnd with zero length files.

I've looked through the code some, but I'm not that familiar with Gradio and I don't really see where any output paths are defined in the Gradio setup.

The app seems to be saving images some unknown place (or not saving them at all?). I don't see an outputs directory in the PhotoMaker directories. I can click the download for each image after it's generated and it seems to copy it to some Windows user temp folder and downloads to my device, but it would be nice to have the option of just saving all images generated as numbered images with the seed info in the name and then going back and deleting ones I don't want.

Any thoughts about where that is or an easy way to set it?

sfisher commented 8 months ago

Nevermind, I'm just going to install under stable-diffusion-webui-forge which has an option for PhotoMaker.