Skip to content

Commit a1fc581

Browse files
Add host and port
1 parent 4cf5f26 commit a1fc581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ def handle_text_message(event):
5656
else:
5757
response = chatgpt.get_response(user_id, text)
5858
msg = TextSendMessage(text=response)
59-
59+
6060
line_bot_api.reply_message(
6161
event.reply_token,
6262
msg
6363
)
6464

6565

6666
if __name__ == "__main__":
67-
app.run()
67+
app.run(host='0.0.0.0', port=8080)

0 commit comments

Comments
 (0)