Spaces:
Sleeping
Sleeping
tes
Browse files
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
*.duckdb filter=lfs diff=lfs merge=lfs -text
|
36 |
*.gif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
*.duckdb filter=lfs diff=lfs merge=lfs -text
|
36 |
*.gif filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.sqlite3 filter=lfs diff=lfs merge=lfs -text
|
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/length.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b638bf8dfc32fdbc01d913d27ad31ed6b3a8ba655b0d3efe36452db9353f5e31
|
3 |
size 4000
|
chroma/chroma.sqlite3
CHANGED
Binary files a/chroma/chroma.sqlite3 and b/chroma/chroma.sqlite3 differ
|
|
mysite/interpreter/google_chat.py
CHANGED
@@ -59,8 +59,8 @@ def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url):
|
|
59 |
print("Message posted successfully.")
|
60 |
else:
|
61 |
print(f"Failed to post message: {response.status_code}, {response.text}")
|
62 |
-
|
63 |
-
thread_name =
|
64 |
return thread_name
|
65 |
|
66 |
def send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name):
|
|
|
59 |
print("Message posted successfully.")
|
60 |
else:
|
61 |
print(f"Failed to post message: {response.status_code}, {response.text}")
|
62 |
+
response_data = response.json()
|
63 |
+
thread_name = response_data['thread']['name']
|
64 |
return thread_name
|
65 |
|
66 |
def send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name):
|
mysite/routers/fastapi.py
CHANGED
@@ -208,7 +208,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
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 |
-
thread_name =
|
212 |
return
|
213 |
#test case
|
214 |
#########################################################################
|
|
|
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 |
+
thread_name = send_google_chat_card_thread(webhook_url, title, subtitle, link_text, link_url,thread_name)
|
212 |
return
|
213 |
#test case
|
214 |
#########################################################################
|