helloWorld199 commited on
Commit
30412b3
1 Parent(s): 1f20467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -100,7 +100,11 @@ with gr.Blocks() as demo:
100
  # scale=9,
101
  #)
102
  elapsed_time = gr.Textbox(label='Overall inference time', scale=1)
103
- paths = gr.Textbox(label='paths', scale=1)
 
 
 
 
104
  #gr.Examples(
105
  # examples=[
106
  # './assets/NewJeans - Super Shy.mp3',
@@ -116,7 +120,7 @@ with gr.Blocks() as demo:
116
  fn=analyze,
117
  inputs=input_audio_path,
118
  #outputs=[output_bpm, output_viz, output_sonif, elapsed_time],
119
- outputs=[output_bpm, elapsed_time, paths],
120
  api_name='analyze',
121
  )
122
 
 
100
  # scale=9,
101
  #)
102
  elapsed_time = gr.Textbox(label='Overall inference time', scale=1)
103
+ with gr.Column():
104
+ bass_path = gr.Textbox(label='bass_path', scale=1)
105
+ drums_path = gr.Textbox(label='drums_path', scale=1)
106
+ other_path = gr.Textbox(label='other_path', scale=1)
107
+ vocals_path = gr.Textbox(label='vocals_path', scale=1)
108
  #gr.Examples(
109
  # examples=[
110
  # './assets/NewJeans - Super Shy.mp3',
 
120
  fn=analyze,
121
  inputs=input_audio_path,
122
  #outputs=[output_bpm, output_viz, output_sonif, elapsed_time],
123
+ outputs=[output_bpm, elapsed_time, bass_path, drums_path, other_path, vocals_path],
124
  api_name='analyze',
125
  )
126