Remove weights_path parameter

This commit is contained in:
Benjamin Elizalde
2023-10-20 11:25:32 -07:00
parent 8e87029c0e
commit d32b134d27
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ This is an example using CLAPCAP for audio captioning.
from msclap import CLAP
# Load and initialize CLAP
weights_path = "weights_path"
clap_model = CLAP(weights_path, version = 'clapcap', use_cuda=False)
clap_model = CLAP(version = 'clapcap', use_cuda=False)
#Load audio files
audio_files = ['audio_file']