Spaces:
Runtime error
Runtime error
Commit
•
7513630
1
Parent(s):
ba15b51
Update app.py
Browse files
app.py
CHANGED
@@ -105,6 +105,13 @@ with gr.Blocks() as demo:
|
|
105 |
gr.HTML("<h3>Instruments</h3>")
|
106 |
instruments = gr.Label(label="Instruments", show_label=False)
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
'''
|
110 |
themes = gr.Dataset(components=[gr.Textbox(visible=False)],
|
@@ -118,14 +125,7 @@ with gr.Blocks() as demo:
|
|
118 |
)
|
119 |
'''
|
120 |
#themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
|
121 |
-
|
122 |
-
with gr.Column():
|
123 |
-
gr.HTML("<h3> Descriptors</h3>")
|
124 |
-
gr.HTML("<h2> Vocal/Instrumental</h2>")
|
125 |
-
dict_desc = gr.Textbox(label="music desc")
|
126 |
-
vocalinstru = gr.Textbox(label="Vocal/Instrumental")
|
127 |
-
|
128 |
-
|
129 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes, dict_desc, vocalinstru])
|
130 |
|
131 |
demo.launch(debug=False)
|
|
|
105 |
gr.HTML("<h3>Instruments</h3>")
|
106 |
instruments = gr.Label(label="Instruments", show_label=False)
|
107 |
|
108 |
+
|
109 |
+
with gr.Column():
|
110 |
+
gr.HTML("<h3> Descriptors</h3>")
|
111 |
+
gr.HTML("<h4> Vocal/Instrumental</h4>")
|
112 |
+
dict_desc = gr.Textbox(label="music desc")
|
113 |
+
vocalinstru = gr.Textbox(label="Vocal/Instrumental")
|
114 |
+
|
115 |
|
116 |
'''
|
117 |
themes = gr.Dataset(components=[gr.Textbox(visible=False)],
|
|
|
125 |
)
|
126 |
'''
|
127 |
#themes = gr.Dataset(components=[gr.Textbox(visible=False)],label="type de tags")
|
128 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
analyze_btn.click(process, inputs=[audio_input], outputs=[dict_moods, genres, instruments, themes, dict_desc, vocalinstru])
|
130 |
|
131 |
demo.launch(debug=False)
|