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