Spaces:
orrinin
/
Runtime error

orrinin commited on
Commit
f497fc4
·
verified ·
1 Parent(s): 01c2067

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -102,13 +102,9 @@ def generate(
102
  fn_index=1
103
  )
104
  print(result)
105
- images = result[0]
106
- image_paths = []
107
- # List[Dict(image: filepath, caption: str | None)]
108
- for img in images:
109
- image_paths.append(img["image"])
110
- print(image_paths)
111
- return image_paths, seed
112
 
113
  examples = [
114
  "坐在火箭上的秋田犬",
 
102
  fn_index=1
103
  )
104
  print(result)
105
+ images = result
106
+
107
+ return images, seed
 
 
 
 
108
 
109
  examples = [
110
  "坐在火箭上的秋田犬",