Spaces:
Runtime error
Runtime error
root
commited on
Commit
•
579cf7d
1
Parent(s):
50ed3c0
add sr
Browse files
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 |
|