mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-08 15:50:38 -07:00
remove timestamp from path
This commit is contained in:
parent
28899117da
commit
43850655d9
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ def move_files_to_cache(data, block, postprocess=False):
|
|||
# postprocess, it means the component can display a URL
|
||||
# without it being served from the gradio server
|
||||
# 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:
|
||||
temp_file_path = payload.url
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue