MarekRudzki / TalkBridge

Voice translator
3 stars 2 forks source link

missing talkbridge_service_account.json #8

Closed flutter-painter closed 7 months ago

flutter-painter commented 7 months ago

When trying to translate I get his error : "Unhandled Exception: Unable to load asset: "assets/talkbridge_service_account.json". The asset does not exist or has empty data."

I presume I am meant to replace this file with my own. Could you please provide a hint in the readme on what kind of file is expected here ? Is it the .json from firebase ?

MarekRudzki commented 7 months ago

Hi! Indeed you have to replace "talkbridge_service_account.json" file with your own. To do so create a Google Cloud account and activate the Speech Api. Next you should get the Json file, rename it as "talkbridge_service_account.json" and save to assets folder.