PierreHanna commited on
Commit
c742176
·
1 Parent(s): 159e68b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -88,11 +88,11 @@ with gr.Blocks() as demo:
88
 
89
  with gr.Row():
90
  dict_moods=gr.Label(label="Moods")
91
- #themes=gr.Label(label="Themes")
92
  genres = gr.Label(label="Genres")
93
  instruments = gr.Label(label="Instruments")
94
  #dict_desc = gr.Textbox(label="music desc")
95
- themes = gr.Textbox(label="Vocal/Instrumental"),
96
 
97
  '''
98
  themes = gr.Dataset(components=[gr.Textbox(visible=False)],
@@ -108,6 +108,6 @@ with gr.Blocks() as demo:
108
  #themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
109
 
110
 
111
- analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes])#, vocalinstru])
112
 
113
  demo.launch(debug=False)
 
88
 
89
  with gr.Row():
90
  dict_moods=gr.Label(label="Moods")
91
+ themes=gr.Label(label="Themes")
92
  genres = gr.Label(label="Genres")
93
  instruments = gr.Label(label="Instruments")
94
  #dict_desc = gr.Textbox(label="music desc")
95
+ vocalinstru = gr.Textbox(label="Vocal/Instrumental"),
96
 
97
  '''
98
  themes = gr.Dataset(components=[gr.Textbox(visible=False)],
 
108
  #themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
109
 
110
 
111
+ analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes, vocalinstru])
112
 
113
  demo.launch(debug=False)