Skip to content

Commit

Permalink
api validation
Browse files Browse the repository at this point in the history
  • Loading branch information
luv-bansal committed Jan 23, 2025
1 parent 0f2899b commit 259b03f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clarifai/runners/models/model_run_locally.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, model_path):
self.requirements_file = os.path.join(self.model_path, "requirements.txt")

# ModelUploader contains multiple useful methods to interact with the model
self.uploader = ModelUploader(self.model_path, download_validation_only=True)
self.uploader = ModelUploader(self.model_path, validate_api_ids=False)
self.config = self.uploader.config

def _requirements_hash(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/runners/dummy_runner_models/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
model:
id: "dummy-runner-model"
user_id: "python-grpc-tester"
app_id: "test-model"
app_id: "main"
model_type_id: "multimodal-to-text"

build_info:
Expand Down

0 comments on commit 259b03f

Please sign in to comment.