Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
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=180)
|
9 |
def inference(audio_file, model_name, guidance_scale, ddim_steps, seed):
|
10 |
audiosr = build_model(model_name=model_name)
|
11 |
|
|
|
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=180)
|
9 |
def inference(audio_file, model_name, guidance_scale, ddim_steps, seed):
|
10 |
audiosr = build_model(model_name=model_name)
|
11 |
|