Updated the app with a transcribe function
Fixed a type conversion error