SefyanKehail commited on
Commit ·
08c3015
1
Parent(s): 8a0a24e
debugging microphone ...
Browse files
app.py
CHANGED
|
@@ -101,7 +101,7 @@ def gui():
|
|
| 101 |
|
| 102 |
|
| 103 |
# Use audio_input.change to trigger stop_recording_info when audio changes
|
| 104 |
-
audio_input.stop_recording(stop_recording_info, inputs=audio_input, outputs=info, queue=False).then(
|
| 105 |
enable_convert_button, inputs=audio_input, outputs=[convert_button, info], queue=False
|
| 106 |
)
|
| 107 |
|
|
|
|
| 101 |
|
| 102 |
|
| 103 |
# Use audio_input.change to trigger stop_recording_info when audio changes
|
| 104 |
+
audio_input.stop_recording(lambda: None).then(stop_recording_info, inputs=audio_input, outputs=info, queue=False).then(
|
| 105 |
enable_convert_button, inputs=audio_input, outputs=[convert_button, info], queue=False
|
| 106 |
)
|
| 107 |
|