Files
gradio-webrtc/demo/nextjs_voice_chat/frontend/fastrtc-demo/app/page.tsx
huangbinchao.hbc aefb08150f [feat] update some feature
sync code of  fastrtc,
add text support through datachannel,
fix safari connect problem
support chat without camera or mic
2025-03-25 18:05:10 +08:00

17 lines
549 B
TypeScript

import { BackgroundCircleProvider } from "@/components/background-circle-provider";
import { ThemeToggle } from "@/components/ui/theme-toggle";
import { ResetChat } from "@/components/ui/reset-chat";
export default function Home() {
return (
<div className="flex flex-col items-center justify-center h-screen">
<BackgroundCircleProvider />
<div className="absolute top-4 right-4 z-10">
<ThemeToggle />
</div>
<div className="absolute bottom-4 right-4 z-10">
<ResetChat />
</div>
</div>
);
}