Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from audiosr import super_resolution, build_model
|
3 |
import torch
|
4 |
import gc # free up memory
|
5 |
-
|
6 |
|
7 |
@spaces.GPU(duration=300)
|
8 |
def inference(audio_file, model_name, guidance_scale, ddim_steps, seed):
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from audiosr import super_resolution, build_model
|
4 |
import torch
|
5 |
import gc # free up memory
|
6 |
+
|
7 |
|
8 |
@spaces.GPU(duration=300)
|
9 |
def inference(audio_file, model_name, guidance_scale, ddim_steps, seed):
|