File size: 327 Bytes
8e5ceb2 | 1 2 3 4 5 6 7 8 9 |
//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());
|