Update app.py
Browse files
app.py
CHANGED
|
@@ -149,11 +149,11 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
|
|
| 149 |
for key, value in key_value_dict.items():
|
| 150 |
print(key + ": " + value)
|
| 151 |
items = list(key_value_dict.items())
|
| 152 |
-
description = items[0]
|
| 153 |
print(description)
|
| 154 |
-
primary = items[1]
|
| 155 |
print(primary)
|
| 156 |
-
headline = items[2]
|
| 157 |
print(headline)
|
| 158 |
|
| 159 |
# json_string = responses.strip()
|
|
|
|
| 149 |
for key, value in key_value_dict.items():
|
| 150 |
print(key + ": " + value)
|
| 151 |
items = list(key_value_dict.items())
|
| 152 |
+
description = items[0][0]
|
| 153 |
print(description)
|
| 154 |
+
primary = items[1][0]
|
| 155 |
print(primary)
|
| 156 |
+
headline = items[2][0]
|
| 157 |
print(headline)
|
| 158 |
|
| 159 |
# json_string = responses.strip()
|