Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 74cf803

Browse files
authored
[teachable machine] Updates model Urls (#231)
* updates TM model URL for Image * adds .env-dev * adds new TM model URL for sound * rm blank space
1 parent 1014e6b commit 74cf803

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.env-dev

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
GITHUB_ID=bb12328773c9cfe19a60
2+
GITHUB_SECRET=dd7e0aaee1b3d0a5b6b30fd04aacbb3c91021793
3+
ML5_EXAMPLES_USERNAME=ml5-temp
4+
EDITOR_API_ACCESS_TOKEN=Y2Y5NDBkYzc4N2Y2NDZhZTMzZTBlZjIyNGFkZWFlYTk0Y2NlYzkzZQ==
5+
EDITOR_API_URL=http://34.73.35.179:8001/api/v1

p5js/TeachableMachine/ImageModel_TM/sketch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This example uses p5 preload function to create the classifier
1212
// Classifier Variable
1313
let classifier;
1414
// Model URL
15-
let imageModelURL = 'https://storage.googleapis.com/teachable-machine-pubilshed-models/fa542ec0-b94b-4aa9-add4-c256963b0720/model.json';
15+
let imageModelURL = 'https://teachablemachine.withgoogle.com/models/bXy2kDNi/model.json';
1616

1717
// Video
1818
let video;

p5js/TeachableMachine/SoundModel_TM/sketch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let classifier;
1616
let label = "listening";
1717

1818
// Teachable Machine model URL:
19-
let soundModelURL = 'https://storage.googleapis.com/tm-speech-commands/eye-test-sound-yining/model.json';
19+
let soundModelURL = 'https://teachablemachine.withgoogle.com/models/h3p9R41J/model.json';
2020

2121

2222
function preload() {

0 commit comments

Comments
 (0)