Skip to content

Conversation

yifanmai
Copy link
Collaborator

@yifanmai yifanmai commented Nov 1, 2024

  • Rename ensure_audio_file_exists to ensure_wav_file_exists_from_array to more accurately reflect its purpose.
  • Changed ensure_wav_file_exists_from_array to avoid race conditions.
  • Changed get_contents_as_bytes and get_contents_as_base64 to support both local paths and URLs
  • Deleted encode_base64 as it is a duplicate of get_contents_as_base64

@yifanmai yifanmai requested review from teetone and ImKeTT November 1, 2024 23:04
Copy link
Collaborator

@ImKeTT ImKeTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@yifanmai yifanmai merged commit d1a9d14 into main Nov 5, 2024
8 checks passed
@yifanmai yifanmai deleted the yifanmai/fix-audio-utils branch November 5, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants