Change is_soundfile_availble to is_soundfile_available (#35030)
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user