narugo1992 commited on
Commit
40de271
1 Parent(s): 0be6001

dev(narugo): fix typo on typing hint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ RE_SPECIAL = re.compile(r'([\\()])')
54
 
55
  def image_to_deepdanbooru_tags(image: Image.Image, threshold: float,
56
  use_spaces: bool, use_escape: bool, include_ranks: bool, score_descend: bool) \
57
- -> Tuple[Mapping[str, float], str]:
58
  tags = get_deepdanbooru_tags()
59
  session = get_deepdanbooru_onnx()
60
  input_name = session.get_inputs()[0].name
 
54
 
55
  def image_to_deepdanbooru_tags(image: Image.Image, threshold: float,
56
  use_spaces: bool, use_escape: bool, include_ranks: bool, score_descend: bool) \
57
+ -> Tuple[str, Mapping[str, float]]:
58
  tags = get_deepdanbooru_tags()
59
  session = get_deepdanbooru_onnx()
60
  input_name = session.get_inputs()[0].name