mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-05-13 07:16:41 +08:00
Python 3.7 support.
This commit is contained in:
parent
aa57136dae
commit
07194297fd
@ -4,7 +4,10 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
from typing import Literal
|
try:
|
||||||
|
from typing import Literal
|
||||||
|
except ImportError:
|
||||||
|
from typing_extensions import Literal
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
import torch.nn as nn
|
import torch.nn as nn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user