I want to deploy my project that I created using “workflow” to my device using the API. According to the code suggested by roboflow in “workflow”, I send a request with the following code:
from inference_sdk import InferenceHTTPClient
client = InferenceHTTPClient(
api_url=“https://detect.roboflow.com”,
api_key=“C0p1kf3Bk************”
)
result = client.run_workflow(
workspace_name=“***-yapay-zeka”,
workflow_id=“custom-workflow”,
images={
“image”: “C:\Users\***pal\test.jpg” # Send the image
}
)
print(result)
And I get the following error:
inference_sdk.http.errors.HTTPCallErrorError: HTTPCallErrorError(description=‘500 Server Error: Internal Server Error for url: https://detect.roboflow.com/sutas-yapay-zeka/workflows/custom-workflow’, api_message=‘Internal Server Error’,status_code=500)