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

add_sdxl_checkpoint_upload_support_v2 #361

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ccssu
Copy link
Collaborator

@ccssu ccssu commented Mar 11, 2025

No description provided.

@ccssu ccssu marked this pull request as ready for review March 11, 2025 09:06
@ccssu ccssu marked this pull request as draft March 11, 2025 09:06
Comment on lines +77 to +87
def detect_model(model_version_id, detection_type, **kwargs):
json_data = {
"prompt": {
"model_version_id": model_version_id,
"detection_type": detection_type,
},
}
detect_model_type: dict = models_config["model_version_config"]["detect_model_type"]
resq = client.send_request(data=json.dump(json_data), **detect_model_type)
# import ipdb; ipdb.set_trace()
print(resq)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

根据 model_version_id 检测 找到对应服务的地址

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.

2 participants