Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
routers/webhook.py
CHANGED
@@ -162,7 +162,7 @@ async def webhook(request: Request):
|
|
162 |
file.write(response.content)
|
163 |
|
164 |
print(f"Audio saved as {audio_file_path}")
|
165 |
-
wavurl = "https://kenken999-fastapi-django-main.hf.space/
|
166 |
thread_name = send_google_chat_card(webhook_url, "youtube audiofile", wavurl, link_text, link_url,thmbnail)#thread_name)
|
167 |
|
168 |
|
|
|
162 |
file.write(response.content)
|
163 |
|
164 |
print(f"Audio saved as {audio_file_path}")
|
165 |
+
wavurl = "https://kenken999-fastapi-django-main.hf.space/staticfiles/"+audio_file_name
|
166 |
thread_name = send_google_chat_card(webhook_url, "youtube audiofile", wavurl, link_text, link_url,thmbnail)#thread_name)
|
167 |
|
168 |
|
staticfiles/audio_20240707054402.wav
ADDED
Binary file (160 kB). View file
|
|