davila7 commited on
Commit
44bec55
1 Parent(s): a31da5f
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -70,7 +70,7 @@ def parse_csv(uploaded_file):
70
 
71
 
72
  @st.cache(allow_output_mutation=True)
73
- def text_to_docs(text: str | List[str]) -> List[Document]:
74
  """Converts a string or list of strings to a list of Documents
75
  with metadata."""
76
  if isinstance(text, str):
 
70
 
71
 
72
  @st.cache(allow_output_mutation=True)
73
+ def text_to_docs(text: str) -> List[Document]:
74
  """Converts a string or list of strings to a list of Documents
75
  with metadata."""
76
  if isinstance(text, str):