We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04d5f3 commit eae8c78Copy full SHA for eae8c78
serving/src/main/java/ai/djl/serving/ModelServer.java
@@ -505,7 +505,7 @@ private String createHuggingFaceModel(String modelId) throws IOException {
505
Path path = Paths.get(modelId);
506
if (Files.exists(path)) {
507
// modelId point to a local file
508
- return modelId;
+ return mapModelUrl(path);
509
}
510
511
// TODO: Download the full model from HF
0 commit comments