Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
8cf29be
1
Parent(s):
c27bef9
22
Browse files
app.py
CHANGED
|
@@ -69,7 +69,8 @@ def generate_lora(
|
|
| 69 |
print(f"ulid: {ulid}")
|
| 70 |
|
| 71 |
print("before: ", input_images)
|
| 72 |
-
input_images = [item[0] for item in input_images]
|
|
|
|
| 73 |
print("after: ", input_images)
|
| 74 |
if not input_images:
|
| 75 |
print("images are empty.")
|
|
|
|
| 69 |
print(f"ulid: {ulid}")
|
| 70 |
|
| 71 |
print("before: ", input_images)
|
| 72 |
+
# input_images = [item[0] for item in input_images]
|
| 73 |
+
input_images = [Image.open(filepath) for filepath, _ in input_images]
|
| 74 |
print("after: ", input_images)
|
| 75 |
if not input_images:
|
| 76 |
print("images are empty.")
|