File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def get_hide_dirs():
63
63
# Standalone backbone
64
64
print ("DepthMap did not detect stable-duiffusion-webui; launching with the standalone backbone.\n "
65
65
"The standalone backbone is not on par with the stable-duiffusion-webui backbone.\n "
66
- "Some features may be missing or work differently.\n " )
66
+ "Some features may be missing or work differently. Please report bugs. \n " )
67
67
68
68
def save_image (image , path , basename , ** kwargs ):
69
69
import os
@@ -79,11 +79,11 @@ def torch_gc():
79
79
torch .cuda .empty_cache ()
80
80
torch .cuda .ipc_collect ()
81
81
82
- def get_next_sequence_number ():
82
+ def get_next_sequence_number (outpath = None , basename = None ):
83
83
# Don't really care what the number will be... As long as it is unique.
84
84
from datetime import datetime , timezone
85
85
import random
86
- return f"{ int (datetime .now (timezone .utc ).timestamp ())} - { random .randint (1000 ,9999 )} "
86
+ return int ( f"{ int (datetime .now (timezone .utc ).timestamp ())} { random .randint (1000 ,9999 )} " )
87
87
88
88
def wrap_gradio_gpu_call (f ): return f # Displaying various stats is not supported
89
89
You can’t perform that action at this time.
0 commit comments