From 1c83e1e028ae46a46a1640b5875c75c3b4237552 Mon Sep 17 00:00:00 2001 From: Christian Bastian <80225746+cdb-boop@users.noreply.github.com> Date: Sat, 7 Sep 2024 21:00:15 -0400 Subject: [PATCH] Remove type hint --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index a1fb5e8..b2d125b 100644 --- a/__init__.py +++ b/__init__.py @@ -243,7 +243,7 @@ def get_def_headers(url=""): return def_headers -def civitai_get_model_info(sha256_hash: str): +def civitai_get_model_info(sha256_hash): url_api_hash = r"https://civitai.com/api/v1/model-versions/by-hash/" + sha256_hash hash_response = requests.get(url_api_hash) if hash_response.status_code != 200: