amurylev commited on
Commit
6f6d905
1 Parent(s): a3b14a2

Update app.py

Browse files

Made audio unlimited

Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -19,9 +19,6 @@ def _fn(path, solver, nfe, tau, denoising, unlimited):
19
  return None, None
20
 
21
  info = torchaudio.info(path)
22
- if not unlimited and (info.num_frames / info.sample_rate > 60):
23
- gr.Warning("Only audio files shorter than 60 seconds are supported.")
24
- return None, None
25
 
26
  solver = solver.lower()
27
  nfe = int(nfe)
 
19
  return None, None
20
 
21
  info = torchaudio.info(path)
 
 
 
22
 
23
  solver = solver.lower()
24
  nfe = int(nfe)