Skip to content

Commit 898d88e

Browse files
authored
Make torchaudio exception catching less specific (Comfy-Org#9309)
1 parent 560d38f commit 898d88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy_api/latest/_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
try:
1313
import torchaudio
1414
TORCH_AUDIO_AVAILABLE = True
15-
except ImportError:
15+
except:
1616
TORCH_AUDIO_AVAILABLE = False
1717
from PIL import Image as PILImage
1818
from PIL.PngImagePlugin import PngInfo

0 commit comments

Comments
 (0)