Skip to content

Commit

Permalink
Add host and port
Browse files Browse the repository at this point in the history
  • Loading branch information
TheExplainthis committed Feb 22, 2023
1 parent 4cf5f26 commit a1fc581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ def handle_text_message(event):
else:
response = chatgpt.get_response(user_id, text)
msg = TextSendMessage(text=response)

line_bot_api.reply_message(
event.reply_token,
msg
)


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

0 comments on commit a1fc581

Please sign in to comment.