Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
5648cf2
1
Parent(s):
970c656
debug
Browse files
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.
|
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():
|