mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-20 21:30:09 +08:00
remove timestamp from path
This commit is contained in:
parent
28899117da
commit
43850655d9
@ -85,6 +85,9 @@ def move_files_to_cache(data, block, postprocess=False):
|
|||||||
# postprocess, it means the component can display a URL
|
# postprocess, it means the component can display a URL
|
||||||
# without it being served from the gradio server
|
# without it being served from the gradio server
|
||||||
# This makes it so that the URL is not downloaded and speeds up event processing
|
# This makes it so that the URL is not downloaded and speeds up event processing
|
||||||
|
|
||||||
|
payload.path = payload.path.rsplit('?', 1)[0]
|
||||||
|
|
||||||
if payload.url and postprocess:
|
if payload.url and postprocess:
|
||||||
temp_file_path = payload.url
|
temp_file_path = payload.url
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user