kgout commited on
Commit
cb6ae20
·
verified ·
1 Parent(s): 0931f00

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -18
main.py CHANGED
@@ -1,19 +1,3 @@
1
-
2
- # mods = [
3
- # "diffusers",
4
- # "torch",
5
- # "torchvision",
6
- # "torchaudio",
7
- # "transformers",
8
- # "gradio",
9
- # "soundfile",
10
- # "progressbar",
11
- # "librosa",
12
- # "audiosr",
13
- # "unidecode",
14
- # "pyloudnorm",
15
- # "pydub"]
16
-
17
  import gradio as gr
18
  import torch
19
  import gc # free up memory
@@ -37,8 +21,6 @@ class AudioUpscaler:
37
  Upscales audio using the AudioSR model.
38
  """
39
 
40
-
41
- @spaces.GPU(duration=300)
42
  def __init__(self, model_name="basic", device="auto"):
43
  """
44
  Initializes the AudioUpscaler.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  import torch
3
  import gc # free up memory
 
21
  Upscales audio using the AudioSR model.
22
  """
23
 
 
 
24
  def __init__(self, model_name="basic", device="auto"):
25
  """
26
  Initializes the AudioUpscaler.