Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def trim_clip(clip):
|
|
49 |
clip = Path("tmp_aud.wav")
|
50 |
#clip = "tmp_aud.mp3"
|
51 |
# Open an mp3 file
|
52 |
-
song = AudioSegment.from_file(
|
53 |
format="wav")
|
54 |
|
55 |
# start and end time
|
|
|
49 |
clip = Path("tmp_aud.wav")
|
50 |
#clip = "tmp_aud.mp3"
|
51 |
# Open an mp3 file
|
52 |
+
song = AudioSegment.from_file("tmp_aud.wav",
|
53 |
format="wav")
|
54 |
|
55 |
# start and end time
|