JustinLin610 commited on
Commit
5648cf2
1 Parent(s): 970c656
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def audio_text_zeroshot(audio, text_list):
40
  labels = [label.strip(" ") for label in text_list.strip(" ").split("|")]
41
  inputs = {
42
  ModalityType.TEXT: data.load_and_transform_text(labels, device),
43
- ModalityType.AUDIO: data.load_and_transform_vision_data(audio_paths, device),
44
  }
45
 
46
  with torch.no_grad():
 
40
  labels = [label.strip(" ") for label in text_list.strip(" ").split("|")]
41
  inputs = {
42
  ModalityType.TEXT: data.load_and_transform_text(labels, device),
43
+ ModalityType.AUDIO: data.load_and_transform_audio_data(audio_paths, device),
44
  }
45
 
46
  with torch.no_grad():