Skip to content

Commit

Permalink
fix: update the language
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyLv committed Mar 19, 2023
1 parent ef04d4a commit 8725f79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { useToast } from '~/hooks/use-toast'
import { useLocalStorage } from '~/hooks/useLocalStorage'
import { useSummarize } from '~/hooks/useSummarize'
import { VideoService } from '~/lib/types'
import { DEFAULT_LANGUAGE } from '~/utils/constants/language'
import { extractPage, extractUrl } from '~/utils/extractUrl'
import { getVideoIdFromUrl } from '~/utils/getVideoIdFromUrl'
import { VideoConfigSchema, videoConfigSchema } from '~/utils/schemas/video'
Expand Down Expand Up @@ -47,7 +48,7 @@ export const Home: NextPage<{
detailLevel: 600,
sentenceNumber: 5,
outlineLevel: 1,
outputLanguage: 'Simplified Chinese',
outputLanguage: DEFAULT_LANGUAGE,
},
resolver: zodResolver(videoConfigSchema),
})
Expand Down

0 comments on commit 8725f79

Please sign in to comment.