Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: api default kb #119

Merged
merged 1 commit into from
Sep 14, 2024
Merged

refactor: api default kb #119

merged 1 commit into from
Sep 14, 2024

Conversation

Zeyi-Lin
Copy link
Owner

  1. 修改了deploy_api.py中各个接口kb参数的默认值为None
  2. watermark接口增加kb参数
  3. 工具函数numpy_2_base64、resize_image_to_kb_base64在返回值前加"data:image/png;base64,"

@Zeyi-Lin Zeyi-Lin merged commit fbb0d0b into master Sep 14, 2024
@Zeyi-Lin Zeyi-Lin deleted the fix-api branch September 14, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant