Spaces:
Running
on
Zero
Running
on
Zero
audio send add
Browse files- routers/webhook.py +1 -1
routers/webhook.py
CHANGED
@@ -160,7 +160,7 @@ async def webhook(request: Request):
|
|
160 |
audio_file_path = os.path.join('staticfiles', audio_file_name)
|
161 |
with open(audio_file_path, 'wb') as file:
|
162 |
file.write(response.content)
|
163 |
-
|
164 |
print(f"Audio saved as {audio_file_path}")
|
165 |
wavurl = "https://kenken999-fastapi-django-main.hf.space/static/"+audio_file_name
|
166 |
#thread_name = send_google_chat_wav(webhook_url, "youtube audiofile", wavurl, link_text, link_url,thmbnail)#thread_name)
|
|
|
160 |
audio_file_path = os.path.join('staticfiles', audio_file_name)
|
161 |
with open(audio_file_path, 'wb') as file:
|
162 |
file.write(response.content)
|
163 |
+
##audio send add
|
164 |
print(f"Audio saved as {audio_file_path}")
|
165 |
wavurl = "https://kenken999-fastapi-django-main.hf.space/static/"+audio_file_name
|
166 |
#thread_name = send_google_chat_wav(webhook_url, "youtube audiofile", wavurl, link_text, link_url,thmbnail)#thread_name)
|