mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Adding nextjs + 11labs + openai streaming demo (#139)
* adding nextjs + 11labs + openai streaming demo * removing package-lock
This commit is contained in:
16
demo/nextjs_voice_chat/frontend/fastrtc-demo/app/page.tsx
Normal file
16
demo/nextjs_voice_chat/frontend/fastrtc-demo/app/page.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user