maolin.liu
commited on
Commit
·
e5e423e
1
Parent(s):
f62fb80
[bugfix]Create producer queue.
Browse files- consumer/asr.py +1 -0
consumer/asr.py
CHANGED
|
@@ -56,6 +56,7 @@ class TranscribeConsumer(BasicMessageReceiver):
|
|
| 56 |
self.output_routing_key = 'transcribe-output'
|
| 57 |
|
| 58 |
self.setup_consume_parameters()
|
|
|
|
| 59 |
|
| 60 |
logger.info('Loading model...')
|
| 61 |
model_size = os.environ.get('WHISPER-MODEL-SIZE', 'large-v3')
|
|
|
|
| 56 |
self.output_routing_key = 'transcribe-output'
|
| 57 |
|
| 58 |
self.setup_consume_parameters()
|
| 59 |
+
self.setup_producer_parameters()
|
| 60 |
|
| 61 |
logger.info('Loading model...')
|
| 62 |
model_size = os.environ.get('WHISPER-MODEL-SIZE', 'large-v3')
|