Leonardo commited on
Commit
3f5c41b
·
verified ·
1 Parent(s): e6679d3

Update scripts/flux_lora_tool.py

Browse files
Files changed (1) hide show
  1. scripts/flux_lora_tool.py +5 -1
scripts/flux_lora_tool.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  """
2
  Zhou Protocol FLUX-LoRA Integration Tool
3
 
@@ -611,4 +614,5 @@ def download_image(url: str, output_dir: Optional[str] = None) -> str:
611
  except requests.RequestException as e:
612
  raise ConnectionError(f"Failed to download image: {str(e)}")
613
  except IOError as e:
614
- raise IOError(f"Failed to save image: {str(e)}")
 
 
1
+ #!/usr/bin/env python
2
+ # coding=utf-8
3
+ # Copyright 2024 The Footscray Coding Collective. All rights reserved.
4
  """
5
  Zhou Protocol FLUX-LoRA Integration Tool
6
 
 
614
  except requests.RequestException as e:
615
  raise ConnectionError(f"Failed to download image: {str(e)}")
616
  except IOError as e:
617
+ raise IOError(f"Failed to save image: {str(e)}")
618
+