Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,7 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
|
|
| 173 |
# # Get and return the images
|
| 174 |
# result_images = outputGenImages(image_path, response_data)
|
| 175 |
|
| 176 |
-
text_output = <h2>{headline}</h2><h3>{primary}</h3><p>{description}
|
| 177 |
|
| 178 |
return text_output#, result_images # Output should be a list of PIL Image objects or numpy arrays
|
| 179 |
|
|
|
|
| 173 |
# # Get and return the images
|
| 174 |
# result_images = outputGenImages(image_path, response_data)
|
| 175 |
|
| 176 |
+
text_output = f"<h2>{headline}</h2><h3>{primary}</h3><p>{description}</p>"
|
| 177 |
|
| 178 |
return text_output#, result_images # Output should be a list of PIL Image objects or numpy arrays
|
| 179 |
|