gradio-client
v1.0.0
Published
Client for Gradio UI.
Downloads
47
Readme
gradio-client
Client for Gradio. Useful for AIGC.
Usage
const client = new GradioClient<{
0: [
[string, string, string, number, number, number], // input type
[string, { name: string }, string], // output type
];
}>('wss://vits.example.com');
const result = await client.request(
0,
'今天晚上吃啥好呢。',
'中文',
'特别周',
0.6,
0.668,
1.2,
);