ahmed-eisa commited on
Commit
52f0ec2
·
1 Parent(s): ec10d0e

fixed utils

Browse files
Files changed (1) hide show
  1. utils.py +1 -0
utils.py CHANGED
@@ -2,6 +2,7 @@ from io import BytesIO
2
  import soundfile
3
  import numpy as np
4
  from PIL import Image
 
5
 
6
  def audio_array_to_buffer(audio_array: np.array, sample_rate: int) -> BytesIO:
7
  buffer = BytesIO()
 
2
  import soundfile
3
  import numpy as np
4
  from PIL import Image
5
+ from typing import Literal
6
 
7
  def audio_array_to_buffer(audio_array: np.array, sample_rate: int) -> BytesIO:
8
  buffer = BytesIO()