Change is_soundfile_availble to is_soundfile_available (#35030)

This commit is contained in:
Blanchon
2025-01-03 14:37:42 +01:00
committed by GitHub
parent 42865860ec
commit cba49cb2a6
6 changed files with 10 additions and 10 deletions

View File

@@ -20,13 +20,13 @@ from pathlib import Path
from transformers.agents.agent_types import AgentAudio, AgentImage, AgentText
from transformers.testing_utils import get_tests_dir, require_soundfile, require_torch, require_vision
from transformers.utils import is_soundfile_availble, is_torch_available, is_vision_available
from transformers.utils import is_soundfile_available, is_torch_available, is_vision_available
if is_torch_available():
import torch
if is_soundfile_availble():
if is_soundfile_available():
import soundfile as sf
if is_vision_available():