diff --git a/dotnet-examples/online-decode-files/Program.cs b/dotnet-examples/online-decode-files/Program.cs index 8fa41920..b5bb6fc5 100644 --- a/dotnet-examples/online-decode-files/Program.cs +++ b/dotnet-examples/online-decode-files/Program.cs @@ -96,7 +96,7 @@ dotnet run \ --num-threads=2 \ --decoding-method=modified_beam_search \ --debug=false \ - ./sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/test_wavs/0.wav \ + --files ./sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/test_wavs/0.wav \ ./sherpa-onnx-streaming-zipformer-bilingual-zh-en-2023-02-20/test_wavs/1.wav Please refer to diff --git a/dotnet-examples/speech-recognition-from-microphone/Program.cs b/dotnet-examples/speech-recognition-from-microphone/Program.cs index e8be9977..b399ea8d 100644 --- a/dotnet-examples/speech-recognition-from-microphone/Program.cs +++ b/dotnet-examples/speech-recognition-from-microphone/Program.cs @@ -16,7 +16,7 @@ using System.Runtime.InteropServices; using System; -class OnlineDecodeFiles +class SpeechRecognitionFromMicrophone { class Options { @@ -192,6 +192,7 @@ to download pre-trained streaming models. ); Console.WriteLine(param); + Console.WriteLine("Started! Please speak"); stream.Start();