awinml commited on
Commit
2026b2f
·
1 Parent(s): 7793af4

Upload 6 files

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -98,7 +98,8 @@ json_output_embedding = instructor_model.predict(
98
 
99
  json_file = open(json_output_embedding, "r")
100
  json_dict = json.load(json_file)
101
- dense_embedding = np.array(json_dict["data"][0], dtype=np.float64)
 
102
 
103
  text_embedding_instructions_choice = [
104
  "Represent the financial statement for retrieval:",
 
98
 
99
  json_file = open(json_output_embedding, "r")
100
  json_dict = json.load(json_file)
101
+ dense_array = np.array(json_dict["data"][0], dtype=np.float64)
102
+ dense_embedding = dense_array.tolist()
103
 
104
  text_embedding_instructions_choice = [
105
  "Represent the financial statement for retrieval:",