more fixes for gradio update

This commit is contained in:
AUTOMATIC
2023-01-01 11:38:17 +03:00
parent 76f256fe8f
commit b46b97fa29
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ def on_tmpdir_changed():
os.makedirs(shared.opts.temp_dir, exist_ok=True)
shared.demo.temp_dirs = shared.demo.temp_dirs | {os.path.abspath(shared.opts.temp_dir)}
shared.demo.temp_file_sets[0] = shared.demo.temp_file_sets[0] | {os.path.abspath(shared.opts.temp_dir)}
def cleanup_tmpdr():