jbilcke-hf HF staff commited on
Commit
624938d
·
1 Parent(s): ae80246
Files changed (2) hide show
  1. src/index.mts +5 -4
  2. start.sh +1 -1
src/index.mts CHANGED
@@ -22,6 +22,11 @@ console.log(`Web TV server status: ${status}`)
22
  const maxShotsPerSequence = 10
23
 
24
  const main = async () => {
 
 
 
 
 
25
  if (status === 'paused') {
26
  setTimeout(() => {
27
  main()
@@ -29,10 +34,6 @@ const main = async () => {
29
  return
30
  }
31
 
32
- console.log('Reading persistent file structure..')
33
- const stats = await getStats()
34
-
35
- console.log('nb files:', JSON.stringify(stats, null, 2))
36
 
37
  console.log('Reading prompt database..')
38
  const db = await getDatabase('./database.json')
 
22
  const maxShotsPerSequence = 10
23
 
24
  const main = async () => {
25
+ console.log('Reading persistent file structure..')
26
+ const stats = await getStats()
27
+
28
+ console.log('nb files:', JSON.stringify(stats, null, 2))
29
+
30
  if (status === 'paused') {
31
  setTimeout(() => {
32
  main()
 
34
  return
35
  }
36
 
 
 
 
 
37
 
38
  console.log('Reading prompt database..')
39
  const db = await getDatabase('./database.json')
start.sh CHANGED
@@ -29,7 +29,7 @@ bash scripts/audio1.sh &
29
  # background process that creates a video stream from video files
30
  # bash scripts/video1.sh &
31
  # bash scripts/video2.sh &
32
- # bash scripts/video3.sh &
33
 
34
  sleep 1
35
 
 
29
  # background process that creates a video stream from video files
30
  # bash scripts/video1.sh &
31
  # bash scripts/video2.sh &
32
+ bash scripts/video3.sh &
33
 
34
  sleep 1
35