eagle0504 commited on
Commit
87ec466
1 Parent(s): f560388

os environ is a dict object so update from tuple to list

Browse files
Files changed (1) hide show
  1. helper/utils.py +1 -1
helper/utils.py CHANGED
@@ -45,7 +45,7 @@ def read_and_textify(
45
  return [text_list, sources_list]
46
 
47
 
48
- client = OpenAI(api_key=os.environ("OPENAI_API_KEY"))
49
 
50
 
51
  def list_to_nums(sentences: List[str]) -> List[List[float]]:
 
45
  return [text_list, sources_list]
46
 
47
 
48
+ client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])
49
 
50
 
51
  def list_to_nums(sentences: List[str]) -> List[List[float]]: