| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b187310 commit aa48859
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,10 +39,10 @@ for more information. | |||
| 39 | 39 | ||
| 40 | 40 | ### Install the dependencies | |
| 41 | 41 | ||
| 42 | - * If you're running the `speechrest.py` sample: | ||
| 42 | + * If you're running the `speech_rest.py` sample: | ||
| 43 | 43 | ||
| 44 | 44 | ```sh | |
| 45 | - $ pip install requirements-speechrest.txt | ||
| 45 | + $ pip install requirements-speech_rest.txt | ||
| 46 | 46 | ``` | |
| 47 | 47 | ||
| 48 | 48 | * If you're running the `speech_streaming.py` sample: | |
@@ -53,10 +53,10 @@ for more information. | |||
| 53 | 53 | ||
| 54 | 54 | ## Run the example | |
| 55 | 55 | ||
| 56 | - * To run the `speechrest.py` sample: | ||
| 56 | + * To run the `speech_rest.py` sample: | ||
| 57 | 57 | ||
| 58 | 58 | ```sh | |
| 59 | - $ python speechrest.py resources/audio.raw | ||
| 59 | + $ python speech_rest.py resources/audio.raw | ||
| 60 | 60 | ``` | |
| 61 | 61 | ||
| 62 | 62 | You should see a response with the transcription result. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ | |||
| 13 | 13 | ||
| 14 | 14 | import re | |
| 15 | 15 | ||
| 16 | - from speechrest import main | ||
| 16 | + from speech_rest import main | ||
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | 19 | def test_main(resource, capsys): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,6 +53,7 @@ def mock_audio_stream(channels, rate, chunk): | |||
| 53 | 53 | return mock_audio_stream | |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | + # grpc doesn't yet support python3 https://github.com/grpc/grpc/issues/282 | ||
| 56 | 57 | @pytest.mark.skipif( | |
| 57 | 58 | sys.version_info >= (3, 0), reason="can't get grpc lib to work in python3") | |
| 58 | 59 | def test_main(resource, monkeypatch, capsys): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments