Spaces:
Running
Running
alanchen1115
commited on
Commit
•
7a8d7b0
1
Parent(s):
1da6583
Update main.py
Browse files
main.py
CHANGED
@@ -23,8 +23,8 @@ app.add_middleware(
|
|
23 |
allow_headers=["*"],
|
24 |
)
|
25 |
|
26 |
-
line_bot_api = LineBotApi(os.environ["
|
27 |
-
line_handler = WebhookHandler(os.environ["
|
28 |
|
29 |
working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true"
|
30 |
|
|
|
23 |
allow_headers=["*"],
|
24 |
)
|
25 |
|
26 |
+
line_bot_api = LineBotApi(os.environ["CHANNEL_ACCESS_TOKEN"])
|
27 |
+
line_handler = WebhookHandler(os.environ["CHANNEL_SECRET"])
|
28 |
|
29 |
working_status = os.getenv("DEFALUT_TALKING", default = "true").lower() == "true"
|
30 |
|