From 1d44f985a48165ae485ae5d250bc7f96945b0405 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Fri, 17 Mar 2023 23:07:10 -0500 Subject: [PATCH] fix(api): restore python 3.8 compatibility --- api/onnx_web/diffusers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/onnx_web/diffusers/utils.py b/api/onnx_web/diffusers/utils.py index 6e8c261b..a8a407fd 100644 --- a/api/onnx_web/diffusers/utils.py +++ b/api/onnx_web/diffusers/utils.py @@ -133,7 +133,7 @@ def expand_prompt( def get_tokens_from_prompt( - prompt: str, pattern: Pattern[str] + prompt: str, pattern: Pattern ) -> Tuple[str, List[Tuple[str, float]]]: """ TODO: replace with Arpeggio