Mayur2 commited on
Commit
eb36da7
·
1 Parent(s): ce8b301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
116
  # Remove backdrop
117
  responses = chatgpt_chain.predict(human_input=promptText)
118
  print(responses)
119
- split_pairs = string.split(" ")
120
 
121
  # Initialize an empty dictionary to store the key-value pairs
122
  key_value_dict = {}
 
116
  # Remove backdrop
117
  responses = chatgpt_chain.predict(human_input=promptText)
118
  print(responses)
119
+ split_pairs = responses.split(" ")
120
 
121
  # Initialize an empty dictionary to store the key-value pairs
122
  key_value_dict = {}