"use client"; import axios from "axios"; import * as React from 'react'; import { Check, ChevronsUpDown } from "lucide-react" import { ApiKey, TwitchConnection, User } from "@prisma/client"; import { useEffect, useState } from "react"; import { useSession } from "next-auth/react"; import Link from "next/link"; import { cn } from "@/lib/utils"; import { Skeleton } from "@/components/ui/skeleton"; import { Button } from "@/components/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem } from "@/components/ui/command" import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover" import { Label } from "@/components/ui/label"; const TTSFiltersPage = () => { const { data: session, status } = useSession(); const [loading, setLoading] = useState(true) const [open, setOpen] = useState(false) const [value, setValue] = useState("") const voices = [ { value: "brian", label: "Brian", gender: "Male", language: "en" }, { value: "sveltekit", label: "SvelteKit", gender: "Male" }, { value: "nuxt.js", label: "Nuxt.js", gender: "Male", language: "en" }, { value: "remix", label: "Remix", gender: "Male", language: "en" }, { value: "astro", label: "Astro", gender: "Male", language: "en" }, ] return (
TTS Voices
Default Voice
No framework found. {voices.map((voice) => ( { setValue(currentValue === value ? "" : currentValue) setOpen(false) }} > {voice.label} ))}
); } export default TTSFiltersPage;