Skip to content

Commit

Permalink
fixing timeout on tts
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinceBaghel258025 committed Nov 13, 2023
1 parent 4c810b6 commit 433ea26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/api/tts/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { env } from "@/app/env.mjs";
import { NextResponse } from "next/server";
import OpenAI from "openai";
import * as z from "zod";
export const maxDuration = 60;

const bodyobj = z.object({
text: z.string().min(1),
Expand Down

0 comments on commit 433ea26

Please sign in to comment.