MatteoScript commited on
Commit
e14eae6
·
verified ·
1 Parent(s): d4b23aa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -369,7 +369,7 @@ def convert_format(audio_bytes: bytes, from_fmt: str, to_fmt: str) -> bytes:
369
  audio.export(buf, format=to_fmt)
370
  return buf.getvalue()
371
 
372
- def parse_audio_mime_type(mime_type: str) -> dict[str, int | None]:
373
  """Parses bits per sample and rate from an audio MIME type string """
374
  bits_per_sample = 16
375
  rate = 24000
 
369
  audio.export(buf, format=to_fmt)
370
  return buf.getvalue()
371
 
372
+ def parse_audio_mime_type(mime_type: str) -> dict[str, int]:
373
  """Parses bits per sample and rate from an audio MIME type string """
374
  bits_per_sample = 16
375
  rate = 24000