Merge pull request #5095 from Mogith-P-N/main

Clarifai : Removed model name casing issue
This commit is contained in:
Krish Dholakia 2024-08-07 14:42:26 -07:00 • committed by GitHub
commit 1bf1185506
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,7 +155,6 @@ def process_response(
def convert_model_to_url(model: str, api_base: str):
user_id, app_id, model_id = model.split(".")
model_id = model_id.lower()
return f"{api_base}/users/{user_id}/apps/{app_id}/models/{model_id}/outputs"