Update app.py
Browse files
app.py
CHANGED
|
@@ -115,9 +115,10 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
|
|
| 115 |
# image.save(image_path)
|
| 116 |
# Remove backdrop
|
| 117 |
responses = chatgpt_chain.predict(human_input=promptText)
|
|
|
|
| 118 |
print(type(responses))
|
| 119 |
-
print(json.dumps(responses, indent=2
|
| 120 |
-
print(type(json.dumps(responses, indent=2
|
| 121 |
|
| 122 |
# json_string = responses.strip()
|
| 123 |
|
|
|
|
| 115 |
# image.save(image_path)
|
| 116 |
# Remove backdrop
|
| 117 |
responses = chatgpt_chain.predict(human_input=promptText)
|
| 118 |
+
print(responses)
|
| 119 |
print(type(responses))
|
| 120 |
+
print(json.dumps(responses, indent=2))
|
| 121 |
+
print(type(json.dumps(responses, indent=2)))
|
| 122 |
|
| 123 |
# json_string = responses.strip()
|
| 124 |
|