Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/remix/app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default function Index() {
});
return (
<div className="p-10 flex flex-col justify-start items-center w-full h-screen">
<h1 className="text-4xl font-semibold">@text.yoga/ask</h1>
<h2 className="text-2xl font-semibold mt-3 mb-10">remix example</h2>
<h1 className="text-4xl font-semibold mb-10">@text.yoga/ask</h1>
<div className="w-full lg:w-2/3 flex flex-col space-y-5">
<form
className="w-full flex flex-row space-x-5"
Expand Down
4 changes: 2 additions & 2 deletions packages/ask-react/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ export const useAsk = (props: UseAskProps): UseAskResponse => {
};
}, []);

const weightsURL = `http://localhost:5173/model.bin`;
const weightsURL = `http://localhost:5173/model2.gguf`;
const modelID = "stories15M";
const tokenizerURL = `http://localhost:5173/tokenizer.json`;
const tokenizerURL = `http://localhost:5173/tokenizer2.json`;

const [questionValue, setQuestionValue] = useState("");

Expand Down
Loading