lyimo commited on
Commit
0720448
1 Parent(s): a097442

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ def enhance_audio(noisy_audio):
20
  # Save enhanced audio to a temporary file
21
  enhanced_path = "enhanced.wav"
22
  torchaudio.save(enhanced_path, enhanced.cpu(), 16000)
23
-
24
  return enhanced_path
25
 
26
  # Create the Gradio interface
@@ -33,4 +33,4 @@ interface = gr.Interface(
33
  )
34
 
35
  # Launch the Gradio app
36
- interface.launch()
 
20
  # Save enhanced audio to a temporary file
21
  enhanced_path = "enhanced.wav"
22
  torchaudio.save(enhanced_path, enhanced.cpu(), 16000)
23
+
24
  return enhanced_path
25
 
26
  # Create the Gradio interface
 
33
  )
34
 
35
  # Launch the Gradio app
36
+ interface.launch()