keshavbhandari
commited on
Commit
•
1d47778
1
Parent(s):
ab57d7f
checking fluidsynth
Browse files
app.py
CHANGED
@@ -3,9 +3,10 @@ import spaces
|
|
3 |
import librosa
|
4 |
import soundfile as sf
|
5 |
import wavio
|
|
|
6 |
|
7 |
@spaces.GPU(duration=120)
|
8 |
-
def gradio_generate(prompt,
|
9 |
# Get example audio file
|
10 |
filename = librosa.ex('trumpet')
|
11 |
output_wave, samplerate = sf.read(filename, dtype='float32')
|
|
|
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):
|
10 |
# Get example audio file
|
11 |
filename = librosa.ex('trumpet')
|
12 |
output_wave, samplerate = sf.read(filename, dtype='float32')
|