Spaces:
Runtime error
Runtime error
Fix typo
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
|
|
199 |
outputs = [output_age, output_gender]
|
200 |
|
201 |
submit_btn.click(recognize, [input_file], outputs)
|
202 |
-
input_selection.change(
|
203 |
input_microphone.change(lambda x: x, input_microphone, outputs)
|
204 |
input_file.change(lambda x: x, input_file, outputs)
|
205 |
|
|
|
199 |
outputs = [output_age, output_gender]
|
200 |
|
201 |
submit_btn.click(recognize, [input_file], outputs)
|
202 |
+
input_selection.change(toggle_input, input_selection, inputs)
|
203 |
input_microphone.change(lambda x: x, input_microphone, outputs)
|
204 |
input_file.change(lambda x: x, input_file, outputs)
|
205 |
|