Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,9 @@ def generate(
|
|
132 |
print(file)
|
133 |
if file != 'captions.json':
|
134 |
img_path = os.path.join(result, file)
|
135 |
-
|
|
|
|
|
136 |
return images, seed
|
137 |
|
138 |
examples = [
|
|
|
132 |
print(file)
|
133 |
if file != 'captions.json':
|
134 |
img_path = os.path.join(result, file)
|
135 |
+
with open(img_path, 'r') as f:
|
136 |
+
print(f)
|
137 |
+
images.append((f))
|
138 |
return images, seed
|
139 |
|
140 |
examples = [
|