mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ while True:
|
||||
sampling_step = state.get('sampling_step', 0)
|
||||
sampling_steps = state.get('sampling_steps', 0)
|
||||
if job_timestamp is None:
|
||||
log.warning(f'sdnext montoring cannot get last job info: {status}')
|
||||
log.warning(f'sdnext monitoring cannot get last job info: {status}')
|
||||
else:
|
||||
job_timestamp = datetime.datetime.strptime(job_timestamp, "%Y%m%d%H%M%S") if job_timestamp != '0' else datetime.datetime.now()
|
||||
elapsed = datetime.datetime.now() - job_timestamp
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ from diffusers import StableDiffusionPipeline, StableDiffusionXLPipeline, AutoPi
|
||||
parser = argparse.ArgumentParser("lcm_convert")
|
||||
parser.add_argument("--name", help="Name of the new LCM model", type=str)
|
||||
parser.add_argument("--model", help="A model to convert", type=str)
|
||||
parser.add_argument("--lora-scale", default=1.0, help="Strenght of the LCM", type=float)
|
||||
parser.add_argument("--lora-scale", default=1.0, help="Strength of the LCM", type=float)
|
||||
parser.add_argument("--huggingface", action="store_true", help="Use Hugging Face models instead of safetensors models")
|
||||
parser.add_argument("--upload", action="store_true", help="Upload the new LCM model to Hugging Face")
|
||||
parser.add_argument("--no-half", action="store_true", help="Convert the new LCM model to FP32")
|
||||
|
||||
Reference in New Issue
Block a user