root commited on
Commit
579cf7d
1 Parent(s): 50ed3c0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ def sr_request_images(img_str, idx):
138
  result_text = r.text
139
  content = json.loads(result_text)["data"][0]
140
  print(content)
141
- images = [base2picture(content)]
142
 
143
  return images
144
 
 
138
  result_text = r.text
139
  content = json.loads(result_text)["data"][0]
140
  print(content)
141
+ images = [base2picture(content[0])]
142
 
143
  return images
144