Files
Fooocus/modules
85e8aa8ce2 feat: add config for temp path and temp path cleanup on launch (#1992)
* Added options to set the Gradio cache path and  clear cache on launch.

* Renamed cache to temp

* clear temp

* feat: do not delete temp folder but only clean content

also use fallback to system temp dir
see https://github.com/gradio-app/gradio/blob/6683ab2589f9d8658e1f51acc1b7526edce988d3/gradio/utils.py#L1151

* refactor: code cleanup

* feat: unify arg --temp-path and new temp_path config value

* feat: change default temp dir from gradio to fooocus

* refactor: move temp path method definition and configs

* feat: rename get_temp_path to init_temp_path

---------

Co-authored-by: steveyourcreativepeople <steve@yourcreativepeople.com>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
2024-03-10 21:06:08 +01:00
..
2023-09-02 06:00:20 -07:00
2023-10-24 21:55:29 +02:00
2023-10-29 22:03:59 -07:00
2023-11-14 14:06:12 -08:00
2023-12-12 11:38:05 -08:00
2023-10-03 10:36:42 -07:00
2023-12-16 15:55:53 -08:00
2023-12-18 19:01:52 -08:00
2023-12-12 11:38:05 -08:00
2024-02-26 17:30:05 +01:00