PierreHanna commited on
Commit
6b3fe76
·
1 Parent(s): 5de30c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,8 +91,8 @@ with gr.Blocks() as demo:
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,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)
 
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, dict_desc]) #vocalinstru])
112
 
113
  demo.launch(debug=False)