Spaces:
Running
on
Zero
Running
on
Zero
keshavbhandari
commited on
Commit
β’
e198246
1
Parent(s):
dd8693d
testing again
Browse files- Dockerfile β Dockerfile_archive.txt +0 -0
- app.py +1 -1
- run.sh β run_sh_archive.txt +0 -0
- setup.txt +9 -0
Dockerfile β Dockerfile_archive.txt
RENAMED
File without changes
|
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
import librosa
|
4 |
import soundfile as sf
|
5 |
import wavio
|
6 |
-
|
7 |
|
8 |
# @spaces.GPU(duration=120)
|
9 |
def gradio_generate(prompt, temperature):
|
|
|
3 |
import librosa
|
4 |
import soundfile as sf
|
5 |
import wavio
|
6 |
+
import fluidsynth
|
7 |
|
8 |
# @spaces.GPU(duration=120)
|
9 |
def gradio_generate(prompt, temperature):
|
run.sh β run_sh_archive.txt
RENAMED
File without changes
|
setup.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
requirement_path = "requirements.txt"
|
3 |
+
install_requires = []
|
4 |
+
if os.path.isfile(requirement_path):
|
5 |
+
with open(requirement_path) as f:
|
6 |
+
install_requires = f.read().splitlines()
|
7 |
+
setup(name="mypackage", install_requires=install_requires, [...])
|
8 |
+
|
9 |
+
apt-get update && apt-get install -y fluidsynth
|