Spaces:
Runtime error
Runtime error
Commit ·
159e68b
1
Parent(s): 471ff37
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,11 +88,12 @@ 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 |
-
|
|
|
|
| 96 |
'''
|
| 97 |
themes = gr.Dataset(components=[gr.Textbox(visible=False)],
|
| 98 |
label="type de tags",
|
|
@@ -105,7 +106,7 @@ with gr.Blocks() as demo:
|
|
| 105 |
)
|
| 106 |
'''
|
| 107 |
#themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
|
| 108 |
-
|
| 109 |
|
| 110 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes])#, vocalinstru])
|
| 111 |
|
|
|
|
| 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)],
|
| 99 |
label="type de tags",
|
|
|
|
| 106 |
)
|
| 107 |
'''
|
| 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 |
|