Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ SAMPLE_RATE = model_config["sample_rate"]
|
|
| 74 |
SAMPLE_SIZE = model_config["sample_size"]
|
| 75 |
|
| 76 |
|
| 77 |
-
@spaces.GPU(
|
| 78 |
def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
|
| 79 |
"""
|
| 80 |
Returns (sample_rate, waveform) so the API returns raw audio, not a file.
|
|
|
|
| 74 |
SAMPLE_SIZE = model_config["sample_size"]
|
| 75 |
|
| 76 |
|
| 77 |
+
@spaces.GPU()
|
| 78 |
def generate_audio(prompt, seconds_total=30, steps=100, cfg_scale=7):
|
| 79 |
"""
|
| 80 |
Returns (sample_rate, waveform) so the API returns raw audio, not a file.
|