correct typo in apply_transcription_request
Browse files
    	
        README.md
    CHANGED
    
    | @@ -604,7 +604,7 @@ repo_id = "mistralai/Voxtral-Small-24B-2507" | |
| 604 | 
             
            processor = AutoProcessor.from_pretrained(repo_id)
         | 
| 605 | 
             
            model = VoxtralForConditionalGeneration.from_pretrained(repo_id, torch_dtype=torch.bfloat16, device_map=device)
         | 
| 606 |  | 
| 607 | 
            -
            inputs = processor. | 
| 608 | 
             
            inputs = inputs.to(device, dtype=torch.bfloat16)
         | 
| 609 |  | 
| 610 | 
             
            outputs = model.generate(**inputs, max_new_tokens=500)
         | 
|  | |
| 604 | 
             
            processor = AutoProcessor.from_pretrained(repo_id)
         | 
| 605 | 
             
            model = VoxtralForConditionalGeneration.from_pretrained(repo_id, torch_dtype=torch.bfloat16, device_map=device)
         | 
| 606 |  | 
| 607 | 
            +
            inputs = processor.apply_transcription_request(language="en", audio="https://huggingface.co/datasets/hf-internal-testing/dummy-audio-samples/resolve/main/obama.mp3", model_id=repo_id)
         | 
| 608 | 
             
            inputs = inputs.to(device, dtype=torch.bfloat16)
         | 
| 609 |  | 
| 610 | 
             
            outputs = model.generate(**inputs, max_new_tokens=500)
         | 

