Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files- routers/webhook.py +2 -2
routers/webhook.py
CHANGED
@@ -160,8 +160,8 @@ async def webhook(request: Request):
|
|
160 |
#test_prompt
|
161 |
res = test_prompt("θΏδΏ‘γ―εΏ
γζ₯ζ¬θͺγ§γγ¦δΈγγ \r\n"+prompt_res,text)
|
162 |
|
163 |
-
|
164 |
-
|
165 |
|
166 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
167 |
now = datetime.now()
|
|
|
160 |
#test_prompt
|
161 |
res = test_prompt("θΏδΏ‘γ―εΏ
γζ₯ζ¬θͺγ§γγ¦δΈγγ \r\n"+prompt_res,text)
|
162 |
|
163 |
+
if DEBUG==1:
|
164 |
+
thread_name = send_google_chat_card_thread(webhook_url, "γγγ³γγγγΉγ "+first_line, str(res), link_text, link_url,thread_name)
|
165 |
|
166 |
#thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
167 |
now = datetime.now()
|