Mayur2 commited on
Commit
7dc3755
·
1 Parent(s): 60de2de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -144,14 +144,13 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
144
  for key, value in key_value_dict.items():
145
  print(key + ": " + value)
146
  items = list(key_value_dict.items())
147
- first_pair = items[0]
148
- primary = first_pair
149
- sc = items[1]
150
- print(sc)
151
- headline = sc
152
- th = items[2]
153
- print(th)
154
- description = th
155
  # json_string = responses.strip()
156
 
157
  # # Add indentation and new lines after each key-value pair
 
144
  for key, value in key_value_dict.items():
145
  print(key + ": " + value)
146
  items = list(key_value_dict.items())
147
+ description = items[0]
148
+ print(description)
149
+ primary = items[1]
150
+ print(primary)
151
+ headline = items[2]
152
+ print(headline)
153
+
 
154
  # json_string = responses.strip()
155
 
156
  # # Add indentation and new lines after each key-value pair