Spaces:
Runtime error
Runtime error
PierreHanna
commited on
Commit
•
dba77dd
1
Parent(s):
05c56b5
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,6 @@ with gr.Blocks() as demo:
|
|
92 |
genres = gr.Label(label="Genres")
|
93 |
instruments = gr.Label(label="Instruments")
|
94 |
|
95 |
-
dict_desc = gr.Textbox(label="music desc")
|
96 |
#vocalinstru = gr.Textbox(label="Vocal/Instrumental"),
|
97 |
|
98 |
'''
|
@@ -107,6 +106,8 @@ with gr.Blocks() as demo:
|
|
107 |
)
|
108 |
'''
|
109 |
#themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
|
|
|
|
|
110 |
|
111 |
|
112 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes, dict_desc]) #vocalinstru])
|
|
|
92 |
genres = gr.Label(label="Genres")
|
93 |
instruments = gr.Label(label="Instruments")
|
94 |
|
|
|
95 |
#vocalinstru = gr.Textbox(label="Vocal/Instrumental"),
|
96 |
|
97 |
'''
|
|
|
106 |
)
|
107 |
'''
|
108 |
#themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
|
109 |
+
|
110 |
+
dict_desc = gr.Textbox(label="music desc")
|
111 |
|
112 |
|
113 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes, dict_desc]) #vocalinstru])
|