Spaces:
Running
on
L4
Running
on
L4
update launch func
Browse files
app.py
CHANGED
@@ -210,7 +210,8 @@ def main():
|
|
210 |
mode_checkbox_group.change(fn=change_instruction, inputs=[mode_checkbox_group], outputs=[instruction_text])
|
211 |
prompt_wav_upload.change(fn=prompt_wav_recognition, inputs=[prompt_wav_upload], outputs=[prompt_text])
|
212 |
prompt_wav_record.change(fn=prompt_wav_recognition, inputs=[prompt_wav_record], outputs=[prompt_text])
|
213 |
-
|
|
|
214 |
|
215 |
|
216 |
if __name__ == '__main__':
|
|
|
210 |
mode_checkbox_group.change(fn=change_instruction, inputs=[mode_checkbox_group], outputs=[instruction_text])
|
211 |
prompt_wav_upload.change(fn=prompt_wav_recognition, inputs=[prompt_wav_upload], outputs=[prompt_text])
|
212 |
prompt_wav_record.change(fn=prompt_wav_recognition, inputs=[prompt_wav_record], outputs=[prompt_text])
|
213 |
+
|
214 |
+
demo.launch(max_threads=4)
|
215 |
|
216 |
|
217 |
if __name__ == '__main__':
|