Skip to content

Commit

Permalink
Add user ID when submitting to OpenAI
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana committed Jul 1, 2024
1 parent 5c051ec commit e6d1f56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scheduled-services/src/audio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const processAudio = async (req: Request, res: Response) => {
const form = new FormData();
form.append("file", new Blob([fs.readFileSync(outputFilepath)], { type: "audio/ogg" }));
form.append("model", "whisper-1");
form.append("user", body.user);

let retryCount = 5;

Expand Down

0 comments on commit e6d1f56

Please sign in to comment.