Skip to content

Commit

Permalink
Update env.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyi-Lin committed Jun 22, 2024
1 parent 1aeeaff commit b4aa099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swankit/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class SwanLabMode(Enum):
"""
swanlab的解析模式,枚举类
"""

DISABLED = "disabled"
CLOUD = "cloud"
# CLOUD_ONLY = "cloud-only"
Expand Down Expand Up @@ -77,8 +78,7 @@ def is_windows() -> bool:


def create_time() -> str:
"""获取当前时间(UTC时区)
"""
"""获取当前时间(UTC时区)"""
return datetime.datetime.now(datetime.UTC).isoformat()


Expand Down

0 comments on commit b4aa099

Please sign in to comment.