diff --git a/comps/asr/README.md b/comps/asr/README.md index f5a197be1..c1dacb261 100644 --- a/comps/asr/README.md +++ b/comps/asr/README.md @@ -22,6 +22,14 @@ nohup python whisper_server.py --device=cpu & python check_whisper_server.py ``` +Note: please make sure that port 7066 is not occupied by other services. Otherwise, use the command `npx kill-port 7066` to free the port. + +If the Whisper server is running properly, you should see the following output: + +```bash +{'asr_result': 'Who is pat gelsinger'} +``` + - Gaudi2 HPU ```bash @@ -35,10 +43,17 @@ python check_whisper_server.py ## 1.3 Start ASR Service/Test ```bash +cd ../ python asr.py python check_asr_server.py ``` +While the Whisper service is running, you can start the ASR service. If the ASR service is running properly, you should see the output similar to the following: + +```bash +{'id': '0e686efd33175ce0ebcf7e0ed7431673', 'text': 'who is pat gelsinger'} +``` + # 🚀2. Start Microservice with Docker (Option 2) Alternatively, you can also start the ASR microservice with Docker.