Update app.py
Browse files
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 =
|
| 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 = {}
|