kenken999 commited on
Commit
41bbff7
Β·
1 Parent(s): 9511a7b
Files changed (1) hide show
  1. mysite/routers/fastapi.py +2 -2
mysite/routers/fastapi.py CHANGED
@@ -245,7 +245,7 @@ def setup_webhook_routes(app: FastAPI):
245
  link_text = "データを璺θͺγ™γ‚‹"
246
  link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
247
  #test_set_lide(subtitle, text)
248
- if DEUBUG==1:
249
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
250
 
251
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
@@ -255,7 +255,7 @@ def setup_webhook_routes(app: FastAPI):
255
  first_line = text.split('\n')[0]
256
  #test_prompt
257
  res = test_prompt("θΏ”δΏ‘γ―εΏ…γšζ—₯本θͺžγ§γ—て下さい \r\n"+prompt_res,text)
258
- if DEUBUG==1:
259
  thread_name = send_google_chat_card_thread(webhook_url, "γƒ—γƒ­γƒ³γƒ—γƒˆγƒ†γ‚Ήγƒˆ "+first_line, str(res), link_text, link_url,thread_name)
260
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
261
  now = datetime.now()
 
245
  link_text = "データを璺θͺγ™γ‚‹"
246
  link_url = "https://kenken999-php.hf.space/diamondprice_list.php"
247
  #test_set_lide(subtitle, text)
248
+ if DEBUG==1:
249
  thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
250
 
251
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
 
255
  first_line = text.split('\n')[0]
256
  #test_prompt
257
  res = test_prompt("θΏ”δΏ‘γ―εΏ…γšζ—₯本θͺžγ§γ—て下さい \r\n"+prompt_res,text)
258
+ if DEBUG==1:
259
  thread_name = send_google_chat_card_thread(webhook_url, "γƒ—γƒ­γƒ³γƒ—γƒˆγƒ†γ‚Ήγƒˆ "+first_line, str(res), link_text, link_url,thread_name)
260
  #thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
261
  now = datetime.now()