We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
checkDeploymentStatus(modelId) { var xhr = new XMLHttpRequest() xhr.addEventListener('load', () => { if (xhr.responseText ==="deployed") { this.setState({ isModelDeployed: true, modelInferenceAPI: MODEL_INFERENCE_API+'/'+this.props.modelVersion.run_id, }); } else { this.setState({ isModelDeployed: false, modelInferenceAPI: "Nor Deployed", }); } }); xhr.open('GET',MODEL_DEPLOYMENT_URL+"?runId="+modelId) xhr.send() }
This would update the state, but the state would not be reflected in the toggle.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This would update the state, but the state would not be reflected in the toggle.
The text was updated successfully, but these errors were encountered: