mirror of
https://github.com/geekwenjie/SmartJavaAI.git
synced 2026-09-17 15:39:03 +00:00
支持离线下载模型
This commit is contained in:
@@ -27,6 +27,12 @@ public class ModelConfig {
|
||||
*/
|
||||
private int maxFaceCount;
|
||||
|
||||
/**
|
||||
* 模型路径
|
||||
*/
|
||||
private String modelPath;
|
||||
|
||||
|
||||
public String getAlgorithmName() {
|
||||
return algorithmName;
|
||||
}
|
||||
@@ -58,4 +64,12 @@ public class ModelConfig {
|
||||
public void setMaxFaceCount(int maxFaceCount) {
|
||||
this.maxFaceCount = maxFaceCount;
|
||||
}
|
||||
|
||||
public String getModelPath() {
|
||||
return modelPath;
|
||||
}
|
||||
|
||||
public void setModelPath(String modelPath) {
|
||||
this.modelPath = modelPath;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user