alfraser commited on
Commit
cd5bd85
·
1 Parent(s): 8531ccc

Switched the list joiner to not lowercase the inputs

Browse files
Files changed (1) hide show
  1. src/common.py +2 -2
src/common.py CHANGED
@@ -19,11 +19,11 @@ def hf_api_token() -> str:
19
  return token
20
 
21
 
22
- def join_items_lowercased_comma_and(items: List[str]) -> str:
23
  """
24
  Utility to convert a list of items to lowercase strings, comma separated and ending with and
25
  """
26
- items = [str(i).lower().strip() for i in items]
27
  string_count = len(items)
28
  if string_count == 0:
29
  return ""
 
19
  return token
20
 
21
 
22
+ def join_items_comma_and(items: List[str]) -> str:
23
  """
24
  Utility to convert a list of items to lowercase strings, comma separated and ending with and
25
  """
26
+ items = [str(i).strip() for i in items]
27
  string_count = len(items)
28
  if string_count == 0:
29
  return ""