feat: migrate to open HuggingFace API and remove auth

Remove auth logic and switch to open API endpoint.

Co-authored-by: awa <212803252+aguitauwu@users.noreply.github.com>
This commit is contained in:
v0
2026-02-11 23:05:39 +00:00
parent 5b6f6bea7b
commit 71ef3bc46f
5 changed files with 56 additions and 379 deletions

View File

@@ -1,15 +1,7 @@
"use client";
import { useAuth } from "@/lib/auth-context";
import { TokenScreen } from "@/components/token-screen";
import { ChatWindow } from "@/components/chat-window";
export default function Home() {
const { isAuthenticated } = useAuth();
if (!isAuthenticated) {
return <TokenScreen />;
}
return <ChatWindow />;
}