MCPcopy Index your code
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / get_next_sequence_number

Function get_next_sequence_number

src/backbone.py:115–118  ·  view source on GitHub ↗
(outpath, basename)

Source from the content-addressed store, hash-verified

113
114 # Make sure to preserve the function signature when calling!
115 def get_next_sequence_number(outpath, basename):
116 global backbone_current_seq_number
117 backbone_current_seq_number += 1
118 return int(f"{launched_at}{backbone_current_seq_number:04}")
119
120 def wrap_gradio_gpu_call(f): return f # Displaying various stats is not supported
121

Callers 1

save_imageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected