Spaces:
Runtime error
Runtime error
fix
Browse files- app.py +1 -0
- ffmpeg_720p.sh +1 -0
- install.sh +0 -4
- requirements.txt +9 -0
app.py
CHANGED
|
@@ -41,6 +41,7 @@ with gr.Blocks() as demo:
|
|
| 41 |
)
|
| 42 |
gr_examples = gr.Examples(
|
| 43 |
examples=[
|
|
|
|
| 44 |
'demo/sources/howto_fix_laptop_mute_1080p.mp4',
|
| 45 |
],
|
| 46 |
inputs=[gr_video],
|
|
|
|
| 41 |
)
|
| 42 |
gr_examples = gr.Examples(
|
| 43 |
examples=[
|
| 44 |
+
'demo/sources/howto_fix_laptop_mute_720p.mp4',
|
| 45 |
'demo/sources/howto_fix_laptop_mute_1080p.mp4',
|
| 46 |
],
|
| 47 |
inputs=[gr_video],
|
ffmpeg_720p.sh
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
ffmpeg -ss 0 -t 30 -i demo/sources/howto_fix_laptop_mute_1080p.mp4 -vf "scale='if(gt(a,1),-2,720)':'if(gt(a,1),720,-2)'" -an demo/sources/howto_fix_laptop_mute_720p.mp4 -y
|
install.sh
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
pip install torch==2.6.0 torchvision
|
| 2 |
-
pip install transformers accelerate
|
| 3 |
-
pip install livecc-utils
|
| 4 |
-
pip install flash-attn --no-build-isolation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
torch==2.6.0
|
| 2 |
+
torchvision
|
| 3 |
+
transformers
|
| 4 |
+
accelerate
|
| 5 |
+
liger_kernel
|
| 6 |
+
livecc-utils
|
| 7 |
+
flash-attn
|
| 8 |
+
kokoro
|
| 9 |
+
soundfile
|