Spaces:
Sleeping
Sleeping
Update app.py
Browse files39 unmodified lines4041424344454639 unmodified lineselif style == "Rock":audio = librosa.effects.time_stretch(audio, 1.05)elif style == "EDM":librosa.effects.time_stretch(y=audio, rate=1.1)audio = librosa.effects.pitch_shift(audio, sr, pitch)39 unmodified lines404142434445464739 unmodified lineselif style == "Rock":audio = librosa.effects.time_stretch(audio, 1.05)elif style == "EDM":processed_audio = librosa.effects.time_stretch(y=audio, rate=1.1) # <--- Add 4 spaces here!cts.time_stretch(y=audio, rate=1.1)audio = librosa.effects.pitch_shift(audio, sr, pitch)
app.py+2-1