Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
eb9cbc8
1
Parent(s):
62e0727
Add setup script for voices
Browse files- public/voices/Cherry.mp3 +3 -0
- public/voices/Chicago.mp3 +3 -0
- public/voices/Janus.mp3 +3 -0
- public/voices/Mantis.mp3 +3 -0
- public/voices/Sponge.mp3 +3 -0
- public/voices/Starchild.mp3 +3 -0
- requirements.txt +1 -2
- setup_voices.sh +21 -0
public/voices/Cherry.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ac5796a412b2a4e191ecc037be6467cfd3c6233cf7dd2ce07d7742eb046cfbe
|
| 3 |
+
size 509537
|
public/voices/Chicago.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6be99cc80c226a150402e0ec92ac40206de08ff7399136fc309597b0bd8837ad
|
| 3 |
+
size 696782
|
public/voices/Janus.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b8d608ec67b43a088e96691c009a095e488523a6aca29e1fa30d628e46e3ce7
|
| 3 |
+
size 528763
|
public/voices/Mantis.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e37695776f1c93c4c86c7ba1b26ea365af566363432a02cbd65ca571f99e3c14
|
| 3 |
+
size 619460
|
public/voices/Sponge.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7ab366e71ec9c709d49cdb2778bf76f2de27cbbabb1d5452675b2b9a6c24d01
|
| 3 |
+
size 535450
|
public/voices/Starchild.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4255d53586fae89e44ba64f13857cc72c823acfa013c47617b42425bfe96d1f
|
| 3 |
+
size 624894
|
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
spaces
|
| 2 |
-
|
| 3 |
accelerate==1.6.0
|
| 4 |
transformers
|
| 5 |
diffusers
|
|
@@ -17,5 +17,4 @@ librosa
|
|
| 17 |
pydub
|
| 18 |
requests
|
| 19 |
python-dotenv
|
| 20 |
-
git+https://github.com/microsoft/VibeVoice.git
|
| 21 |
|
|
|
|
| 1 |
spaces
|
| 2 |
+
torch
|
| 3 |
accelerate==1.6.0
|
| 4 |
transformers
|
| 5 |
diffusers
|
|
|
|
| 17 |
pydub
|
| 18 |
requests
|
| 19 |
python-dotenv
|
|
|
|
| 20 |
|
setup_voices.sh
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Script to copy voice files to VibeVoice demo directory
|
| 3 |
+
|
| 4 |
+
echo "Setting up voice files..."
|
| 5 |
+
|
| 6 |
+
# Create the target directory if it doesn't exist
|
| 7 |
+
mkdir -p VibeVoice/demo/voices
|
| 8 |
+
|
| 9 |
+
# Copy voice files from root voices directory if it exists
|
| 10 |
+
if [ -d "voices" ]; then
|
| 11 |
+
echo "Copying voice files from voices/ to VibeVoice/demo/voices/"
|
| 12 |
+
cp voices/*.mp3 VibeVoice/demo/voices/ 2>/dev/null
|
| 13 |
+
cp voices/*.wav VibeVoice/demo/voices/ 2>/dev/null
|
| 14 |
+
echo "Voice files copied successfully!"
|
| 15 |
+
else
|
| 16 |
+
echo "No voices directory found in root"
|
| 17 |
+
fi
|
| 18 |
+
|
| 19 |
+
# List the voice files
|
| 20 |
+
echo "Available voice files:"
|
| 21 |
+
ls -la VibeVoice/demo/voices/
|