yvannn commited on
Commit
9315c5b
·
1 Parent(s): 0042145

Change global vectors missing

Browse files

Thanks to gabacode for the advice

Files changed (1) hide show
  1. chatbot_csv.py +1 -1
chatbot_csv.py CHANGED
@@ -96,7 +96,7 @@ async def main():
96
 
97
  # Load the vectors from the pickle file
98
  with open(filename + ".pkl", "rb") as f:
99
- global vectores
100
  vectors = pickle.load(f)
101
 
102
  return vectors
 
96
 
97
  # Load the vectors from the pickle file
98
  with open(filename + ".pkl", "rb") as f:
99
+ global vectors
100
  vectors = pickle.load(f)
101
 
102
  return vectors