Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 7, 2024
1 parent d59e2ec commit 5d43d4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kornia/onnx/utils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import requests
import pprint
import os
import pprint
import urllib.request
from typing import Any, Optional

import requests

from kornia.core.external import onnx

__all__ = ["ONNXLoader"]
Expand Down Expand Up @@ -101,8 +102,7 @@ def download(

@staticmethod
def _fetch_repo_contents(folder: str) -> list[dict[str, Any]]:
"""
Fetches the contents of the Hugging Face repository using the Hugging Face API.
"""Fetches the contents of the Hugging Face repository using the Hugging Face API.
Returns:
List[dict]: A list of all files in the repository as dictionaries containing file details.
Expand Down

0 comments on commit 5d43d4f

Please sign in to comment.