mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-23 20:44:31 +08:00
Make torchaudio exception catching less specific
This commit is contained in:
parent
e1d4f36d8d
commit
545915698a
@ -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