jbilcke-hf HF staff commited on
Commit
fbc6245
·
1 Parent(s): 7b518e6

emergency fix

Browse files
Files changed (1) hide show
  1. src/index.mts +3 -1
src/index.mts CHANGED
@@ -30,6 +30,8 @@ const main = async () => {
30
  const stats = await getStats()
31
 
32
  console.log('nb files:', JSON.stringify(stats, null, 2))
 
 
33
 
34
  if (status === 'paused') {
35
  setTimeout(() => {
@@ -38,7 +40,7 @@ const main = async () => {
38
  return
39
  }
40
 
41
- await updatePlaylists(db)
42
 
43
  const nbTotalShots = db.sequences.reduce((a, s) => a + s.shots.length, 0)
44
  console.log(`Prompt database version: ${db.version}`)
 
30
  const stats = await getStats()
31
 
32
  console.log('nb files:', JSON.stringify(stats, null, 2))
33
+
34
+ await updatePlaylists(db)
35
 
36
  if (status === 'paused') {
37
  setTimeout(() => {
 
40
  return
41
  }
42
 
43
+
44
 
45
  const nbTotalShots = db.sequences.reduce((a, s) => a + s.shots.length, 0)
46
  console.log(`Prompt database version: ${db.version}`)