asynchronousai commited on
Commit
8e540e5
·
verified ·
1 Parent(s): f7091c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def process_json(json_input):
6
  try:
7
  input = json.loads(json_input)
8
 
9
- memory = Memory(embedding_model="TaylorAI/bge-micro-v2")
10
  memory.save(input['terms'], input['metadata'])
11
 
12
  results = memory.search(input['prompt'], top_n=input['topN'])
 
6
  try:
7
  input = json.loads(json_input)
8
 
9
+ memory = Memory()#embedding_model="TaylorAI/bge-micro-v2")
10
  memory.save(input['terms'], input['metadata'])
11
 
12
  results = memory.search(input['prompt'], top_n=input['topN'])