diff --git a/dotnet-examples/online-decode-files/Program.cs b/dotnet-examples/online-decode-files/Program.cs index 8fa419206..b5bb6fc55 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 e8be99779..b399ea8d7 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; -class OnlineDecodeFiles +class SpeechRecognitionFromMicrophone { class Options { @@ -192,6 +192,7 @@ IntPtr userData ); Console.WriteLine(param); + Console.WriteLine("Started! Please speak"); stream.Start();