Update app.py
Browse files
app.py
CHANGED
|
@@ -170,7 +170,10 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
|
|
| 170 |
# # Get and return the images
|
| 171 |
# result_images = outputGenImages(image_path, response_data)
|
| 172 |
|
| 173 |
-
text_output = f"<
|
|
|
|
|
|
|
|
|
|
| 174 |
|
| 175 |
return text_output#, result_images # Output should be a list of PIL Image objects or numpy arrays
|
| 176 |
|
|
|
|
| 170 |
# # Get and return the images
|
| 171 |
# result_images = outputGenImages(image_path, response_data)
|
| 172 |
|
| 173 |
+
text_output = f"<ul>'
|
| 174 |
+
for key, value in my_dict.items():
|
| 175 |
+
html += f'<li>{key}: {value}</li>'
|
| 176 |
+
html += '</ul>"
|
| 177 |
|
| 178 |
return text_output#, result_images # Output should be a list of PIL Image objects or numpy arrays
|
| 179 |
|