code: def speech_to_text(audio_file):
      print(audio_file)
      audio_input = speechsdk.AudioConfig(filename=audio_file)
      speech_recognizer = speechsdk.SpeechRecognizer(
          speech_config=speech_config, audio_config=audio_input
      )
      result = speech_recognizer.recognize_once_async().get()
      if result.reason == speechsdk.ResultReason.RecognizedSpeech:
          print("Recognized: {}".format(result.text))
          return result.text
      elif result.reason == speechsdk.ResultReason.NoMatch:
          print(
              f"No speech could be recognized: {result.no_match_details}"
          )
          return "ERROR_Rec"
      elif result.reason == speechsdk.ResultReason.Canceled:
          cancellation_details = result.cancellation_details
          print(
              f"Speech Recognition canceled: {cancellation_details.reason}"
          )
          if (
              cancellation_details.reason
              == speechsdk.CancellationReason.Error
          ):
              print(
                  f"Error details: {cancellation_details.error_details}"
              )
          return "ERROR_Canc"
      return
  
label_desc: Use image node_id 1 for calling a global function with example usage: speech_to_text(audio_file) and returns: result, str, str