Skip to content

ChatLunaLab/gradio-service

Repository files navigation

koishi-plugin-gradio-service

提供 @gradio/client 支持

npm npm node version github top language

特性

Fork 自 @gradio/client

为了体积,移除了一部分代码,其中以下功能未实现:

  • duplicate
  • 心跳包监听
  • huggingface space 相关 api
  • components 相关 api

新增了以下特性:

  • 使用了 Koishi 的 HTTP 服务
  • 移除了部分依赖,减小包体积
  • cjs & esm 同步支持

使用

import type {  } from "koishi-plugin-gradio-service"

const app = ctx.gradio.connect(".....")

About

为 Koishi 提供简易的 @gradio/client 支持

Resources

License

Stars

Watchers

Forks