🐛 Bug: Fix the bug that prevents the voice function from being used.
Browse files- request.py +1 -1
request.py
CHANGED
@@ -1072,7 +1072,7 @@ async def get_dalle_payload(request, engine, provider):
|
|
1072 |
async def get_whisper_payload(request, engine, provider):
|
1073 |
model = provider['model'][request.model]
|
1074 |
headers = {
|
1075 |
-
"Content-Type": "multipart/form-data",
|
1076 |
}
|
1077 |
if provider.get("api"):
|
1078 |
headers['Authorization'] = f"Bearer {provider['api'].next()}"
|
|
|
1072 |
async def get_whisper_payload(request, engine, provider):
|
1073 |
model = provider['model'][request.model]
|
1074 |
headers = {
|
1075 |
+
# "Content-Type": "multipart/form-data",
|
1076 |
}
|
1077 |
if provider.get("api"):
|
1078 |
headers['Authorization'] = f"Bearer {provider['api'].next()}"
|