Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def upload_and_process(image, promptText, promptImg, lens_option, n_images, size
|
|
| 113 |
image.save(image_path)
|
| 114 |
# Remove backdrop
|
| 115 |
responses = chatgpt_chain.predict(human_input=promptText)
|
| 116 |
-
print(json.dumps(responses, indent=2))
|
| 117 |
|
| 118 |
# json_string = responses.strip()
|
| 119 |
|
|
|
|
| 113 |
image.save(image_path)
|
| 114 |
# Remove backdrop
|
| 115 |
responses = chatgpt_chain.predict(human_input=promptText)
|
| 116 |
+
print(json.dumps(responses, indent=2,ensure_ascii=False))
|
| 117 |
|
| 118 |
# json_string = responses.strip()
|
| 119 |
|