This commit is contained in:
Michal Moskal 2021-08-16 11:43:49 -07:00
Родитель 119c53ef4f
Коммит 730d81e55c
2 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -1,8 +1,8 @@
namespace jacdac {
export class ML4FHost extends MLHost {
export class ML4FServer extends MLServer {
model: ml4f.Model
constructor(agg: SensorAggregatorHost) {
constructor(agg: SensorAggregatorServer) {
super("ml4f", ModelRunnerModelFormat.ML4F, agg);
}
@ -48,5 +48,5 @@ namespace jacdac {
}
//% whenUsed
export const ml4fHost = new ML4FHost(sensorAggregatorHost)
export const ml4fHost = new ML4FServer(sensorAggregatorServer)
}

Просмотреть файл

@ -3,8 +3,7 @@
"version": "0.0.2",
"description": "Run compiled ML models in MakeCode - beta",
"dependencies": {
"ml": "github:microsoft/pxt-ml#v0.0.8",
"core": "*"
"ml": "github:microsoft/pxt-ml#v0.0.9"
},
"files": [
"README.md",
@ -14,11 +13,12 @@
"ns.ts"
],
"fileDependencies": {
"ml4fjacdac.ts": "jacdac-services"
"ml4fjacdac.ts": "jacdac"
},
"testDependencies": {
"jacdac-services": "github:microsoft/pxt-jacdac-services#v0.1.1",
"settings": "*"
"core": "*",
"settings": "*",
"jacdac": "github:microsoft/pxt-jacdac#v0.5.0"
},
"testFiles": [
"test.ts"