Spaces:
Build error
Build error
Commit
·
f132701
1
Parent(s):
a99b4ac
adding libnss3
Browse files- Dockerfile +1 -1
- src/index.mts +1 -2
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|
5 |
|
6 |
RUN apt update
|
7 |
|
8 |
-
RUN apt --yes install ffmpeg
|
9 |
|
10 |
# Set up a new user named "user" with user ID 1000
|
11 |
RUN useradd -o -u 1000 user
|
|
|
5 |
|
6 |
RUN apt update
|
7 |
|
8 |
+
RUN apt --yes install ffmpeg libnss3-dev
|
9 |
|
10 |
# Set up a new user named "user" with user ID 1000
|
11 |
RUN useradd -o -u 1000 user
|
src/index.mts
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import { generateVideo } from './generateVideo.mts'
|
2 |
-
import { downloadVideo } from './downloadVideo.mts'
|
3 |
import { upscaleVideo } from './upscaleVideo.mts'
|
4 |
import { keepVideo } from './keepVideo.mts'
|
5 |
|
@@ -20,7 +19,7 @@ const main = async () => {
|
|
20 |
console.log(`- generating video.. prompt: ${caption}`)
|
21 |
try {
|
22 |
const rawVideo = await generateVideo(caption)
|
23 |
-
|
24 |
console.log(`- downloaded ${rawVideo}`)
|
25 |
|
26 |
console.log('- upscaling video..')
|
|
|
1 |
import { generateVideo } from './generateVideo.mts'
|
|
|
2 |
import { upscaleVideo } from './upscaleVideo.mts'
|
3 |
import { keepVideo } from './keepVideo.mts'
|
4 |
|
|
|
19 |
console.log(`- generating video.. prompt: ${caption}`)
|
20 |
try {
|
21 |
const rawVideo = await generateVideo(caption)
|
22 |
+
|
23 |
console.log(`- downloaded ${rawVideo}`)
|
24 |
|
25 |
console.log('- upscaling video..')
|