Spaces:
orrinin
/
Runtime error

orrinin commited on
Commit
38efae1
·
verified ·
1 Parent(s): 7829558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- images.append(img_path)
 
 
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 = [