NoCrypt commited on
Commit
5732553
1 Parent(s): 62cfcf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def predict(image: PIL.Image.Image, score_threshold: float,
88
  continue
89
  res[label] = prob
90
  b = dict(sorted(res.items(),key=lambda item:item[1], reverse=True))
91
- a = ', '.join(list(b.keys())).replace('_',' ')
92
  return (a,res)
93
 
94
 
 
88
  continue
89
  res[label] = prob
90
  b = dict(sorted(res.items(),key=lambda item:item[1], reverse=True))
91
+ a = ', '.join(list(b.keys())).replace('_',' ').replace('(','\(').replace(')','\)')
92
  return (a,res)
93
 
94