Skip to content

Commit

Permalink
fix(api): restore python 3.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Mar 18, 2023
1 parent c943a55 commit 1d44f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/diffusers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d44f98

Please sign in to comment.