apple muncy commited on
Commit
f02a9c3
·
1 Parent(s): c99c69c

change ' to " in tag list

Browse files

Signed-off-by: apple muncy <[email protected]>

Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -183,6 +183,10 @@ def extract_tags_from_text(text: str) -> List[str]:
183
  for tag in all_tags:
184
  if tag in RECOGNIZED_TAGS or tag in explicit_tags:
185
  valid_tags.append(tag)
 
 
 
 
186
  print(f"valid tags: {valid_tags}")
187
  return valid_tags
188
 
 
183
  for tag in all_tags:
184
  if tag in RECOGNIZED_TAGS or tag in explicit_tags:
185
  valid_tags.append(tag)
186
+
187
+ for item in valid_tags:
188
+ new_valid_tags.append(item.replace("'", '"'))
189
+ valid_tags = new_valid_tags
190
  print(f"valid tags: {valid_tags}")
191
  return valid_tags
192