johntsi commited on
Commit
4b39cbd
1 Parent(s): 62a4416

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -291,7 +291,7 @@ nllb_model.eval()
291
  nllb_model.to("cuda")
292
 
293
  # Load audio file
294
- audio = load_and_resample_audio(path_to_audio_file)
295
  input_values = processor(audio, sampling_rate=16000, return_tensors="pt").to("cuda")
296
 
297
  # translation to German
 
291
  nllb_model.to("cuda")
292
 
293
  # Load audio file
294
+ audio = load_and_resample_audio(path_to_audio_file) # you can use "resources/sample.wav" for testing
295
  input_values = processor(audio, sampling_rate=16000, return_tensors="pt").to("cuda")
296
 
297
  # translation to German