Python 3.7 support.

This commit is contained in:
comfyanonymous 2023-04-25 14:02:17 -04:00
parent aa57136dae
commit 07194297fd
1 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,10 @@
from __future__ import annotations
from collections import OrderedDict
from typing import Literal
try:
from typing import Literal
except ImportError:
from typing_extensions import Literal
import torch
import torch.nn as nn