Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from einops import rearrange
|
|
| 5 |
from stable_audio_tools import get_pretrained_model
|
| 6 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
| 7 |
import gradio as gr
|
|
|
|
| 8 |
|
| 9 |
# Define the function to generate audio
|
| 10 |
@spaces.GPU()
|
|
|
|
| 5 |
from stable_audio_tools import get_pretrained_model
|
| 6 |
from stable_audio_tools.inference.generation import generate_diffusion_cond
|
| 7 |
import gradio as gr
|
| 8 |
+
import os
|
| 9 |
|
| 10 |
# Define the function to generate audio
|
| 11 |
@spaces.GPU()
|