asr / cli.py
maolin.liu
[feature]Support RabbitMQ.
85378a6
raw
history blame
245 Bytes
from consumer.asr import TranscribeConsumer
def cli():
transcribe_consumer = TranscribeConsumer()
transcribe_consumer.consume_messages(transcribe_consumer.queue_name, transcribe_consumer.consume)
if __name__ == '__main__':
cli()