Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
chore: disable CV init
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Jan 26, 2019
1 parent 08993ec commit 7da7c9c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/db-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ async function initDB() {
await db.initDB();
//TODO: log something back from init, similar to like we did with cv data below

const metadata = await generate();

// TODO: REMOVE SLicE, this is just for testing!!
const { languages, sentences } = await db.initCV(metadata.slice(0, 1));
console.log(`Common Voice: ${sentences.length} sentences in ${languages.length} languages`);
// For now we're not importing any CV data
// const metadata = await generate();
// const { languages, sentences } = await db.initCV(metadata);
// console.log(`Common Voice: ${sentences.length} sentences in ${languages.length} languages`);

const authed = await db.auth();
if (!authed) {
Expand Down

0 comments on commit 7da7c9c

Please sign in to comment.