Added the URL of the Civitai model page at top of output

This commit is contained in:
Doug
2024-06-20 17:30:15 +10:00
parent b4e88e4664
commit 26c0f32929
+4 -1
View File
@@ -74,7 +74,10 @@ def get_lora_info(lora_name):
baseModel = model_info.get("baseModel", "")
images = model_info.get('images')
examplePrompt = None
modelID = model_info.get("modelId")
if modelID:
output += f"URL: https://civitai.com/models/{modelID}\n"
if trainedWords:
output += "Triggers: " + trainedWords
output += "\n"