Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
e4cc20f
1
Parent(s):
25da9c5
install requiremetns
Browse files- __pycache__/stepaudio2.cpython-310.pyc +0 -0
- app.py +7 -0
- pre-requirements.txt +7 -7
- requirements.txt +7 -7
__pycache__/stepaudio2.cpython-310.pyc
ADDED
Binary file (5.74 kB). View file
|
|
app.py
CHANGED
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import tempfile
|
2 |
import traceback
|
3 |
from pathlib import Path
|
|
|
1 |
+
import os
|
2 |
+
import shlex
|
3 |
+
import subprocess
|
4 |
+
|
5 |
+
# install requirements
|
6 |
+
os.system("pip install -r requirements.txt")
|
7 |
+
|
8 |
import tempfile
|
9 |
import traceback
|
10 |
from pathlib import Path
|
pre-requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
torch
|
2 |
-
|
3 |
-
|
4 |
-
librosa
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
1 |
torch
|
2 |
+
transformers==4.49.0
|
3 |
+
torchaudio
|
4 |
+
librosa
|
5 |
+
onnxruntime
|
6 |
+
s3tokenizer
|
7 |
+
diffusers
|
8 |
+
hyperpyyaml
|
requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
torch
|
2 |
-
|
3 |
-
|
4 |
-
librosa
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
1 |
torch
|
2 |
+
transformers==4.49.0
|
3 |
+
torchaudio
|
4 |
+
librosa
|
5 |
+
onnxruntime
|
6 |
+
s3tokenizer
|
7 |
+
diffusers
|
8 |
+
hyperpyyaml
|