Spaces:
Running
on
Zero
Running
on
Zero
dfa
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -329,8 +329,8 @@ def setup_webhook_routes(app: FastAPI):
|
|
329 |
text=True,
|
330 |
shel=True
|
331 |
)
|
332 |
-
|
333 |
-
thread_name = send_google_chat_card_thread(webhook_url, title,
|
334 |
|
335 |
#prompt_res_agi = completion("日本語で下記のプランを考えて "+res)
|
336 |
#thread_name = send_google_chat_card_thread(webhook_url, title, prompt_res_agi, link_text, link_url,thread_name)
|
|
|
329 |
text=True,
|
330 |
shel=True
|
331 |
)
|
332 |
+
stdout, stderr = proc.communicate()
|
333 |
+
thread_name = send_google_chat_card_thread(webhook_url, title, stdout, link_text, link_url,thread_name)
|
334 |
|
335 |
#prompt_res_agi = completion("日本語で下記のプランを考えて "+res)
|
336 |
#thread_name = send_google_chat_card_thread(webhook_url, title, prompt_res_agi, link_text, link_url,thread_name)
|