Commit Graph

19 Commits

Author SHA1 Message Date
Andray
3a99824638 register_tmp_file also with mtime 2024-02-23 20:26:56 +04:00
w-e-w
a18e54ecd7 option "open image button" open the actual dir 2024-02-18 00:38:05 +09:00
missionfloyd
c04c4b95de Always add timestamp to displayed image 2024-02-10 14:49:08 -07:00
brkirch
299b8096bc Make Gradio temp directory if it doesn't exist
Gradio normally creates the temp directory in `pil_to_temp_file()` (861d752a83/gradio/components/base.py (L313)) but since the Gradio implementation of `pil_to_temp_file()` is replaced with `save_pil_to_file()`, the Gradio temp directory should also be created by `save_pil_to_file()` when necessary.
2023-08-21 17:36:17 -04:00
AUTOMATIC1111
95821f0132 split webui.py's initialization and utility functions into separate files 2023-08-09 18:11:13 +03:00
Vesnica
08f93da17c
Update ui_tempdir.py
Make override function have the same input parameters with original function
2023-06-04 14:20:23 +08:00
AUTOMATIC
20ae71faa8 fix linter issue for 1.3.0 2023-05-27 20:23:16 +03:00
AUTOMATIC
6095ade147 fix serving images that have already been saved without temp files function that broke after updating gradio 2023-05-27 20:19:10 +03:00
AUTOMATIC
a5121e7a06 fixes for B007 2023-05-10 11:37:18 +03:00
AUTOMATIC
028d3f6425 ruff auto fixes 2023-05-10 11:05:02 +03:00
Sakura-Luna
e7dbefc340
refresh fix 2023-05-09 19:06:00 +08:00
AUTOMATIC
505a10ad92 use file modification time instead of current time for #9760 2023-05-08 15:09:20 +03:00
Sakura-Luna
8bc4a3a2a8 Refresh fix 2023-05-04 15:59:42 +08:00
Sakura-Luna
91a15dca80 Use a new way to solve webpage refresh 2023-05-04 14:38:15 +08:00
AUTOMATIC
c0ee148870 add support for running with gradio 3.9 installed 2023-01-03 14:18:48 +03:00
AUTOMATIC
b46b97fa29 more fixes for gradio update 2023-01-01 11:38:17 +03:00
AUTOMATIC
76f256fe8f Bump gradio version #YOLO 2023-01-01 11:08:39 +03:00
AUTOMATIC
bb11bee22a if image on disk was deleted between being generated and request being completed, do use temporary dir to store it for the browser 2022-11-27 23:14:13 +03:00
AUTOMATIC
b006382784 serve images from where they are saved instead of a temporary directory
add an option to choose a different temporary directory in the UI
add an option to cleanup the selected temporary directory at startup
2022-11-27 11:52:53 +03:00