mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-17 18:34:35 +00:00
Make torchaudio exception catching less specific (#9309)
This commit is contained in:
parent
560d38f34c
commit
898d88e10e
@ -12,7 +12,7 @@ import torch
|
|||||||
try:
|
try:
|
||||||
import torchaudio
|
import torchaudio
|
||||||
TORCH_AUDIO_AVAILABLE = True
|
TORCH_AUDIO_AVAILABLE = True
|
||||||
except ImportError:
|
except:
|
||||||
TORCH_AUDIO_AVAILABLE = False
|
TORCH_AUDIO_AVAILABLE = False
|
||||||
from PIL import Image as PILImage
|
from PIL import Image as PILImage
|
||||||
from PIL.PngImagePlugin import PngInfo
|
from PIL.PngImagePlugin import PngInfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user