Refactor lora info, add checkpoint info

This commit is contained in:
pythongosssss
2023-08-27 13:40:11 +01:00
parent 2403408f9c
commit f69e5ffa7b
4 changed files with 482 additions and 413 deletions
+5 -1
View File
@@ -35,7 +35,11 @@ async def load_metadata(request):
if not file_path:
return web.Response(status=404)
meta = get_metadata(file_path)
try:
meta = get_metadata(file_path)
except:
meta = None
if meta is None:
meta = {}