code: def request_with_retry(
      url, n_retries=3, success_list=[200], **kwargs
  ):
      for _ in range(n_retries):
          try:
              response = requests.get(url, **kwargs)
              if response.status_code in success_list:
                  # Return response if successful
                  return response
          except Exception as e:
              print(e)
              pass
      return None
  
file_path: espnet/egs2/owsm_v2/s2t1/local/prepare_multilingual_librispeech.py
imports: import json
  from argparse import ArgumentParser
  from collections import defaultdict
  from pathlib import Path
  from typing import Dict, List, Optional, Tuple, Union
  import requests
  from utils import LANGUAGES, SYMBOL_NA, SYMBOL_NOSPEECH, SYMBOLS_TIME, LongUtterance, Utterance, generate_long_utterances
label_desc: Use image node_id 1 for calling a global function with example usage: request_with_retry(url, n_retries, success_list) and returns: None, response