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

Provide the ability to construct a model from multiple file paths #57

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

tachyonics
Copy link
Contributor

Issue #, if available:

Description of changes:
Provide the ability to construct a model from multiple file paths. This mirrors the existing functionality to construct a model from multiple directories.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

}

let modelFormat: ModelFormat
if modelFilePath.lowercased().hasSuffix(".yaml") || modelFilePath.lowercased().hasSuffix(".yml") {
Copy link

Choose a reason for hiding this comment

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

nit: can we reuse the logic from getModelFormat below?

ghost
ghost previously approved these changes Aug 11, 2022
@tachyonics tachyonics merged commit b19b5d1 into main Aug 11, 2022
@tachyonics tachyonics deleted the multiple_file_path_model branch August 11, 2022 23:16
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.

1 participant