Alexander Bagus commited on
Commit
24e6f1d
·
1 Parent(s): 011b3a0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def generate_lora(
91
  ulid = str(ULID()).lower()[:12]
92
  print(f"ulid: {ulid}")
93
 
94
- input_images = [Image.open(filepath) for filepath, _ in input_images]
95
  if not input_images:
96
  print("images are empty.")
97
 
 
91
  ulid = str(ULID()).lower()[:12]
92
  print(f"ulid: {ulid}")
93
 
94
+ input_images = [Image.open(filepath).convert("RGB") for filepath, _ in input_images]
95
  if not input_images:
96
  print("images are empty.")
97