Update app.py
Browse files
app.py
CHANGED
@@ -132,9 +132,8 @@ def generate(
|
|
132 |
print(file)
|
133 |
json_file = os.path.join(result,"captions.json")
|
134 |
with open(json_file, 'r') as f:
|
135 |
-
|
136 |
-
|
137 |
-
print(json_data)
|
138 |
for img in json_data["data"]:
|
139 |
images.append(img)
|
140 |
return images, seed
|
|
|
132 |
print(file)
|
133 |
json_file = os.path.join(result,"captions.json")
|
134 |
with open(json_file, 'r') as f:
|
135 |
+
print(f)
|
136 |
+
json_data = f
|
|
|
137 |
for img in json_data["data"]:
|
138 |
images.append(img)
|
139 |
return images, seed
|