Spaces:
Sleeping
Sleeping
修正out_text=>output_text
Browse files
gpt4.py
CHANGED
|
@@ -135,7 +135,7 @@ def handle_text_message(event):
|
|
| 135 |
line_bot_api = MessagingApi(api_client)
|
| 136 |
response = query(event.message.text, previous_response_id=message_id)
|
| 137 |
message_id = response.id
|
| 138 |
-
html_msg = markdown.markdown(response.
|
| 139 |
soup = BeautifulSoup(html_msg, "html.parser")
|
| 140 |
|
| 141 |
line_bot_api.reply_message_with_http_info(
|
|
|
|
| 135 |
line_bot_api = MessagingApi(api_client)
|
| 136 |
response = query(event.message.text, previous_response_id=message_id)
|
| 137 |
message_id = response.id
|
| 138 |
+
html_msg = markdown.markdown(response.output_text)
|
| 139 |
soup = BeautifulSoup(html_msg, "html.parser")
|
| 140 |
|
| 141 |
line_bot_api.reply_message_with_http_info(
|