Mayur2 commited on
Commit
90a554a
·
1 Parent(s): 71f10c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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"<h2>Headline:{key_value_dict['headline']}</h2><h3>Primary:{key_value_dict['primary']}</h3><p>Description:{key_value_dict['description']}</p>"
 
 
 
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