diff --git a/README.md b/README.md index d6a1cd9b..86cd2f8f 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,14 @@ A web-based management interface designed to help you organize and manage your l --- +## **⚠ Important Note**: To use the CivitAI download feature, you'll need to: + +1. Get your CivitAI API key from your profile settings +2. Add it to the LoRA Manager settings page +3. Save the settings + +--- + ## Key Features - 🚀 **High Performance** diff --git a/pyproject.toml b/pyproject.toml index 1f755ac5..03b9ff67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-lora-manager" description = "LoRA Manager for ComfyUI - Access it at http://localhost:8188/loras for managing LoRA models with previews and metadata integration." -version = "0.7.0" +version = "0.7.1" license = {file = "LICENSE"} dependencies = [ "aiohttp", diff --git a/routes/api_routes.py b/routes/api_routes.py index 1b22dc2b..40d4742b 100644 --- a/routes/api_routes.py +++ b/routes/api_routes.py @@ -498,6 +498,10 @@ class ApiRoutes: relative_path=data.get('relative_path'), progress_callback=progress_callback # Add progress callback ) + + if not result.get('success', False): + return web.Response(status=500, text=result.get('error', 'Unknown error')) + return web.json_response(result) except Exception as e: logger.error(f"Error downloading LoRA: {e}")