Update app.py
Browse files
app.py
CHANGED
@@ -142,6 +142,7 @@ def get_files_by_username(username, api_key=None, nsfw=None, hidden=None):
|
|
142 |
'author': model_username,
|
143 |
'authorUrl': f"https://civitai.com/user/{model_username}",
|
144 |
'mirrorUrl': f"https://civitaiarchive.com/models/{model_id}?modelVersionId={version_id}",
|
|
|
145 |
|
146 |
for image in LIMAGES:
|
147 |
(model_id, version_id, image_name, image_url, model_name, version_name, model_username) = file
|
|
|
142 |
'author': model_username,
|
143 |
'authorUrl': f"https://civitai.com/user/{model_username}",
|
144 |
'mirrorUrl': f"https://civitaiarchive.com/models/{model_id}?modelVersionId={version_id}",
|
145 |
+
}
|
146 |
|
147 |
for image in LIMAGES:
|
148 |
(model_id, version_id, image_name, image_url, model_name, version_name, model_username) = file
|