Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -200,6 +200,14 @@ def setup_webhook_routes(app: FastAPI):
|
|
200 |
#test_set_lide(text,"a1")
|
201 |
#no_process_file(text, "ai")
|
202 |
#\r\m
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
|
204 |
#########################################################################
|
205 |
title = f""" プロンプト作成 {promps}"""
|
@@ -207,7 +215,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
207 |
link_text = "データを確認する"
|
208 |
link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
|
209 |
#test_set_lide(subtitle, text)
|
210 |
-
thread_name =
|
211 |
thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
212 |
return
|
213 |
#test case
|
|
|
200 |
#test_set_lide(text,"a1")
|
201 |
#no_process_file(text, "ai")
|
202 |
#\r\m
|
203 |
+
#########################################################################
|
204 |
+
|
205 |
+
title = f""" CHATからの申し込みです {promps}"""
|
206 |
+
subtitle = f"""ユーザー**************** から申し込みがありました{promps}"""
|
207 |
+
link_text = "データを確認する"
|
208 |
+
link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
|
209 |
+
#test_set_lide(subtitle, text)
|
210 |
+
thread_name = send_google_chat_card(webhook_url, title, subtitle, link_text, link_url)
|
211 |
|
212 |
#########################################################################
|
213 |
title = f""" プロンプト作成 {promps}"""
|
|
|
215 |
link_text = "データを確認する"
|
216 |
link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
|
217 |
#test_set_lide(subtitle, text)
|
218 |
+
thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
219 |
thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
220 |
return
|
221 |
#test case
|