| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 82717de commit c4dff94
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,5 +43,8 @@ gcloud preview app deploy -q datastore/api/index.yaml | |||
| 43 | 43 | echo "Creating pubsub resources." | |
| 44 | 44 | gcloud alpha pubsub topics create gae-mvm-pubsub-topic | |
| 45 | 45 | ||
| 46 | + echo "Creating speech resources." | ||
| 47 | + gsutil cp speech/api/resources/audio.flac gs://$GCLOUD_PROJECT/speech/ | ||
| 48 | + | ||
| 46 | 49 | echo "To finish setup, follow this link to enable APIs." | |
| 47 | 50 | echo "https://console.cloud.google.com/flows/enableapi?project=${GCLOUD_PROJECT}&apiid=bigtable.googleapis.com,bigtableadmin.googleapis.com,bigquery,cloudmonitoring,compute_component,datastore,datastore.googleapis.com,dataproc,dns,plus,pubsub,logging,storage_api,vision.googleapis.com" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,8 +23,8 @@ | |||
| 23 | 23 | reason=("grpc doesn't yet support python3 " | |
| 24 | 24 | 'https://github.com/grpc/grpc/issues/282')) | |
| 25 | 25 | def test_main(cloud_config, capsys): | |
| 26 | - input_uri = 'gs://{}/speech/clip.flac'.format(cloud_config.storage_bucket) | ||
| 27 | - output_uri = 'gs://{}/speech/clip.txt'.format(cloud_config.storage_bucket) | ||
| 26 | + input_uri = 'gs://{}/speech/audio.flac'.format(cloud_config.storage_bucket) | ||
| 27 | + output_uri = 'gs://{}/speech/audio.txt'.format(cloud_config.storage_bucket) | ||
| 28 | 28 | ||
| 29 | 29 | main(input_uri, output_uri, 'FLAC', 16000) | |
| 30 | 30 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments