File size: 466 Bytes
fcd58ee |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from transcribe.client import TranscriptionClient
client = TranscriptionClient(
"localhost",
9000,
lang="zh",
save_output_recording=False, # Only used for microphone input, False by Default
output_recording_filename="./output_recording.wav", # Only used for microphone input
max_clients=4,
max_connection_time=600,
mute_audio_playback=False, # Only used for file input, False by Default
)
if __name__ == '__main__':
client()
|