Spaces:
Sleeping
Sleeping
Marcos12886
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ with gr.Blocks(theme=my_theme) as demo:
|
|
148 |
audio_input = gr.Audio(type="numpy", label="Baby recorder")
|
149 |
classify_btn = gr.Button("¿Por qué llora?")
|
150 |
classification_output = gr.Textbox(label="Tu bebé llora por:")
|
151 |
-
classify_btn.click(predict_audio_Roberto, inputs=audio_input, outputs=classification_output)
|
152 |
audio_input.change(fn=lambda _: "", inputs=audio_input, outputs=classification_output)
|
153 |
with gr.Column():
|
154 |
gr.Markdown("<h2>Assistant</h2>")
|
|
|
148 |
audio_input = gr.Audio(type="numpy", label="Baby recorder")
|
149 |
classify_btn = gr.Button("¿Por qué llora?")
|
150 |
classification_output = gr.Textbox(label="Tu bebé llora por:")
|
151 |
+
# classify_btn.click(predict_audio_Roberto, inputs=audio_input, outputs=classification_output)
|
152 |
audio_input.change(fn=lambda _: "", inputs=audio_input, outputs=classification_output)
|
153 |
with gr.Column():
|
154 |
gr.Markdown("<h2>Assistant</h2>")
|