Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
mysite/routers/fastapi.py
CHANGED
@@ -100,9 +100,9 @@ def setup_webhook_routes(app: FastAPI):
|
|
100 |
#test_set_lide(subtitle, text)
|
101 |
send_google_chat_card(webhook_url, title, subtitle, link_text, link_url)
|
102 |
#test case
|
103 |
-
|
104 |
#test_prompt
|
105 |
-
res = test_prompt(prompt_res,
|
106 |
send_google_chat_card(webhook_url, "γγγ³γγγγΉγ"+first_line, str(res), link_text, link_url)
|
107 |
|
108 |
|
|
|
100 |
#test_set_lide(subtitle, text)
|
101 |
send_google_chat_card(webhook_url, title, subtitle, link_text, link_url)
|
102 |
#test case
|
103 |
+
first_line = text.split('\n')[0]
|
104 |
#test_prompt
|
105 |
+
res = test_prompt(prompt_res,first_line)
|
106 |
send_google_chat_card(webhook_url, "γγγ³γγγγΉγ"+first_line, str(res), link_text, link_url)
|
107 |
|
108 |
|