Update README.md
Browse files
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
|