jbilcke-hf HF staff commited on
Commit
82c5a42
·
1 Parent(s): aaee4de

use same /batch-2/ path

Browse files
Files changed (1) hide show
  1. src/downloadVideo.mts +1 -1
src/downloadVideo.mts CHANGED
@@ -4,7 +4,7 @@ import fs from 'node:fs'
4
 
5
  export const downloadVideo = async (remoteUrl: string, options?: { localPath: string; localFileName: string; }): Promise<string> => {
6
 
7
- const localPath = options?.localPath || process.env.WEBTV_VIDEO_STORAGE_PATH_NEXT
8
  const localFileName = `${options?.localFileName || Date.now()}.mp4`
9
 
10
  // download the video
 
4
 
5
  export const downloadVideo = async (remoteUrl: string, options?: { localPath: string; localFileName: string; }): Promise<string> => {
6
 
7
+ const localPath = options?.localPath || process.env.WEBTV_VIDEO_STORAGE_PATH
8
  const localFileName = `${options?.localFileName || Date.now()}.mp4`
9
 
10
  // download the video