Open hellridergit opened 10 months ago
You can set the GRADIO_TEMP_DIR
env var to fix this I believe.
Thanks @catboxanon, that worked.
set GRADIO_TEMP_DIR=S:\gradio
call webui.bat
Still, appears to be a bug that requires a workaround that's not even mentioned on the wiki, and could be fixed in the future. For that reason I'll leave it open.
Is there an existing issue for this?
What happened?
I created a folder on another drive:
S:\gradio
, in the settings, underDirectory for temporary images; leave empty for default
I enteredS:\gradio
, then gradio confirmed the temp folder setting was changed.Then I went to img2img inpainting, I set up the mask, the prompt, sampling, and as soon as it starts, gradio places the source inpainting image in the default
%temp%\gradio
.Proposal: Make it also go to the temp folder specified in the settings. Make all temp files go there.
We need to trust that others, who also have access to the machine, cannot recover the files through undeletion from a local drive.
Steps to reproduce the problem
Directory for temporary images
.What should have happened?
the inpainting source temp file should end up in the specified custom temp directory
Sysinfo
What browsers do you use to access the UI ?
Mozilla Firefox
Console logs