Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,12 @@ def generate(
|
|
133 |
fn_index=3
|
134 |
)
|
135 |
result = job.result()
|
136 |
-
|
|
|
|
|
|
|
|
|
|
|
137 |
return images, seed
|
138 |
|
139 |
examples = [
|
|
|
133 |
fn_index=3
|
134 |
)
|
135 |
result = job.result()
|
136 |
+
|
137 |
+
for root, dirs, files in os.walk(result):
|
138 |
+
for file in files:
|
139 |
+
if file.endswith('.jpg'):
|
140 |
+
images.append(os.path.json(root,file))
|
141 |
+
|
142 |
return images, seed
|
143 |
|
144 |
examples = [
|