ForAmma / client.js
rr19tech's picture
Uploaded a client
8e5ceb2 verified
//A language model(Qwen) hosted in hugging face
import { Client } from "https://cdn.jsdelivr.net/npm/@gradio/client/dist/index.min.js";
//connect to the model
export const client = await Client.connect("https://rr19tech-plnb-model-smol.hf.space");
console.log(client.config);
console.log(await client.view_api());