Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files- routers/webhook.py +1 -1
routers/webhook.py
CHANGED
@@ -152,7 +152,7 @@ async def webhook(request: Request):
|
|
152 |
#return
|
153 |
#test case
|
154 |
#########################################################################
|
155 |
-
if any(
|
156 |
print("start reply -----------------------------------------------"+reply_token)
|
157 |
first_line = text.split('\n')[0]
|
158 |
# test_prompt
|
|
|
152 |
#return
|
153 |
#test case
|
154 |
#########################################################################
|
155 |
+
if any(keyword in message for keyword in ["買取方法", "取扱商品", "本日の金価格"]):
|
156 |
print("start reply -----------------------------------------------"+reply_token)
|
157 |
first_line = text.split('\n')[0]
|
158 |
# test_prompt
|