got a weird audio bug happening

This commit is contained in:
Chad Bailey
2024-02-12 21:15:12 +00:00
parent fd5ff5fee5
commit 33ea1f9925
6 changed files with 138 additions and 36 deletions

View File

@@ -17,7 +17,8 @@ class CloudflareAIService(AIService):
# base endpoint, used by the others
def run(self, model, input):
response = requests.post(f"{self.api_base_url}{model}", headers=self.headers, json=input)
response = requests.post(
f"{self.api_base_url}{model}", headers=self.headers, json=input)
return response.json()
# https://developers.cloudflare.com/workers-ai/models/llm/