소스 검색

Merge pull request #10580 from akx/add-some-future-annotations

Add some future annotations
AUTOMATIC1111 2 년 전
부모
커밋
38a2324dc3
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/sd_hijack_optimizations.py
  2. 2 0
      webui.py

+ 1 - 0
modules/sd_hijack_optimizations.py

@@ -1,3 +1,4 @@
+from __future__ import annotations
 import math
 import sys
 import traceback

+ 2 - 0
webui.py

@@ -1,3 +1,5 @@
+from __future__ import annotations
+
 import os
 import sys
 import time