This commit is contained in:
josc146
2023-05-15 22:51:52 +08:00
parent 83f0bb503c
commit 29bdb36191
4 changed files with 31 additions and 13 deletions

View File

@@ -31,6 +31,7 @@ export type ApiParameters = {
}
export type ModelParameters = {
// different models can not have the same name
modelName: string;
device: string;
precision: string;
@@ -39,6 +40,7 @@ export type ModelParameters = {
}
export type ModelConfig = {
// different configs can have the same name
name: string;
apiParameters: ApiParameters
modelParameters: ModelParameters