Spaces:
Runtime error
Runtime error
Commit ·
cb32366
1
Parent(s): e81ef5a
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,6 +93,16 @@ with gr.Blocks() as demo:
|
|
| 93 |
genres = gr.outputs.Label(label="Genres")
|
| 94 |
instruments = gr.outputs.Label(label="Instruments")
|
| 95 |
dict_desc = gr.Textbox(label="music desc")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
|
| 98 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, dict_desc, genres, instruments, themes])
|
|
|
|
| 93 |
genres = gr.outputs.Label(label="Genres")
|
| 94 |
instruments = gr.outputs.Label(label="Instruments")
|
| 95 |
dict_desc = gr.Textbox(label="music desc")
|
| 96 |
+
|
| 97 |
+
gr.Dataset(components=[gr.Textbox(visible=False)],
|
| 98 |
+
label="type de tags",
|
| 99 |
+
samples=[
|
| 100 |
+
["Tag1"],
|
| 101 |
+
["Tag2"],
|
| 102 |
+
["Tag3"],
|
| 103 |
+
["Tag4"]
|
| 104 |
+
],
|
| 105 |
+
)
|
| 106 |
|
| 107 |
|
| 108 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, dict_desc, genres, instruments, themes])
|