AlekseyKorshuk commited on
Commit
6891d3e
1 Parent(s): 7c02f8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -19,7 +19,10 @@ def inference(audio, num_epoch):
19
  fs.midi_to_audio(f'{name}.mid', f'{name}.wav')
20
  fs.midi_to_audio(audio.name, f'{name}-init.wav')
21
  time.sleep(2)
22
- print([f'{name}-init.wav', f'{name}.wav'])
 
 
 
23
  return [
24
  wavfile.read(f'{name}-init.wav'),
25
  wavfile.read(f'{name}.wav'),
 
19
  fs.midi_to_audio(f'{name}.mid', f'{name}.wav')
20
  fs.midi_to_audio(audio.name, f'{name}-init.wav')
21
  time.sleep(2)
22
+ print([
23
+ wavfile.read(f'{name}-init.wav'),
24
+ wavfile.read(f'{name}.wav'),
25
+ ])
26
  return [
27
  wavfile.read(f'{name}-init.wav'),
28
  wavfile.read(f'{name}.wav'),