tee342 commited on
Commit
f6e2a5f
·
verified ·
1 Parent(s): cdbcab0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio_temp_fork as gr # <-- important change
2
  from pydub import AudioSegment
3
  import tempfile
4
 
@@ -6,7 +6,6 @@ def clean_and_master(audio_file):
6
  # Load the audio
7
  audio = AudioSegment.from_file(audio_file)
8
 
9
- # [Placeholder for AI-based cleaning/mastering]
10
  # Example: basic normalization
11
  cleaned = audio.normalize()
12
 
@@ -23,4 +22,4 @@ iface = gr.Interface(
23
  description="Upload your audio to clean and master it with AI!"
24
  )
25
 
26
- iface.launch()
 
1
+ import gradio as gr
2
  from pydub import AudioSegment
3
  import tempfile
4
 
 
6
  # Load the audio
7
  audio = AudioSegment.from_file(audio_file)
8
 
 
9
  # Example: basic normalization
10
  cleaned = audio.normalize()
11
 
 
22
  description="Upload your audio to clean and master it with AI!"
23
  )
24
 
25
+ iface.launch()