feat: add xinference sd web ui api tool
Checklist:
[!IMPORTANT]
Please review the checklist below before submitting your pull request.
- [x] Please open an issue before creating a PR or link to an existing issue
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I ran
dev/reformat(backend) andcd web && npx lint-staged(frontend) to appease the lint gods
Description
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. Close issue syntax: Fixes #<issue number>, see documentation for more details.
Fixes
Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update, included: Dify Document
- [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
- [ ] Dependency upgrade
Testing Instructions
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Test A
- [ ] Test B
Since the implementation is similar to stable diffusion but with authorization, is it possible to let the code inherited from stable diffusion tool?
Since the implementation is similar to stable diffusion but with authorization, is it possible to let the code inherited from stable diffusion tool?
The relevant logic must be modified through internal methods and cannot be solved through inheritance
@crazywoola
这个插件可以授权在xinference里面部署的flux 但是调用会报错 是不是只能兼容xinference的stablediffusion不兼容flux
应该能兼容 flux,报啥错?
应该能兼容 flux,报啥错?
xinference里面部署的是Q4_k_s量化版本的flux dev
xinference这边能正常出图 帮忙看看是不是这个插件问题,谢谢
去 https://github.com/xorbitsai/inference/issues/new?template=bug_report.yaml 开个 issue 把。我们查一下。
去 https://github.com/xorbitsai/inference/issues/new?template=bug_report.yaml 开个 issue 把。我们查一下。
https://github.com/xorbitsai/inference/issues/2832 好的