Remove unused

This commit is contained in:
Rafael Caricio 2022-02-11 14:10:50 +01:00
parent 1a61841a0e
commit 2ae0fc21f9
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

@ -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())