Remove unused
This commit is contained in:
parent
1a61841a0e
commit
2ae0fc21f9
1 changed files with 1 additions and 4 deletions
|
@ -5,7 +5,7 @@ use google_api_proto::google::cloud::speech::v1::{
|
|||
StreamingRecognitionConfig, StreamingRecognizeRequest,
|
||||
};
|
||||
use google_authz::{Credentials, GoogleAuthz};
|
||||
use log::{debug, info, warn};
|
||||
use log::{debug, info};
|
||||
use tokio::io::AsyncReadExt;
|
||||
use tokio_stream::wrappers::UnboundedReceiverStream;
|
||||
use tonic::transport::Channel;
|
||||
|
@ -21,9 +21,6 @@ async fn main() -> eyre::Result<()> {
|
|||
let channel = Channel::from_static("https://speech.googleapis.com")
|
||||
.connect()
|
||||
.await?;
|
||||
// let channel_translate = Channel::from_static("https://translate.googleapis.com")
|
||||
// .connect()
|
||||
// .await?;
|
||||
|
||||
let credentials = Credentials::builder()
|
||||
.json_file("i-centralvideo-dictate-dev-c184dd68967a.json".as_ref())
|
||||
|
|
Loading…
Reference in a new issue