cdnuts commited on
Commit
233aa95
1 Parent(s): a7f7b05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -48,9 +48,9 @@ def create_tags(image):
48
  text = ""
49
  for i in range(len(temp)):
50
  text += temp[i][0] + (', ' if i < len(temp) - 1 else '')
51
- text.replace(r"placeholder1, ", "")
52
- text.replace(r"_", " ")
53
- text.replace("(", "\\(").replace(")", "\\)")
54
 
55
  return text
56
 
 
48
  text = ""
49
  for i in range(len(temp)):
50
  text += temp[i][0] + (', ' if i < len(temp) - 1 else '')
51
+ text = text.replace(r"placeholder1, ", "")
52
+ text = text.replace(r"_", " ")
53
+ text = text.replace("(", "\\(").replace(")", "\\)")
54
 
55
  return text
56