mirror of
https://github.com/YuuKi-OS/Yuuki-chat.git
synced 2026-02-18 22:01:09 +00:00
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:
@@ -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 />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user