feat: add prefix "Fooocus" to version
This commit is contained in:
parent
7fefe3a3c2
commit
33d644f4a5
|
|
@ -808,7 +808,7 @@ def worker():
|
|||
d.append((f'LoRA {li + 1} Name', f'lora_name_{li + 1}', n, False, False))
|
||||
d.append((f'LoRA {li + 1} Weight', f'lora_weight_{li + 1}', w, False, False))
|
||||
d.append((f'LoRA {li + 1} Hash', f'lora_hash_{li + 1}', lora_hashes[li], False, False))
|
||||
d.append(('Version', 'version', 'v' + fooocus_version.version, True, True))
|
||||
d.append(('Version', 'version', 'Fooocus v' + fooocus_version.version, True, True))
|
||||
if modules.config.metadata_created_by != '':
|
||||
d.append(('Created By', 'created_by', modules.config.metadata_created_by, False, False))
|
||||
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ class A1111MetadataParser(MetadataParser):
|
|||
generation_params |= {
|
||||
self.fooocus_to_a1111['lora_hashes']: lora_hashes_string,
|
||||
# "Denoising strength": data['denoising_strength'],
|
||||
self.fooocus_to_a1111['version']: f"Fooocus {data['version']}"
|
||||
self.fooocus_to_a1111['version']: {data['version']}
|
||||
}
|
||||
|
||||
generation_params_text = ", ".join(
|
||||
|
|
|
|||
Loading…
Reference in New Issue