Omnibus commited on
Commit
c7e6625
·
verified ·
1 Parent(s): e47c602

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -671,6 +671,8 @@ def save_memory(purpose, history):
671
  out_box.append(resp)
672
  create_index()
673
  return out_box
 
 
674
  def recall_memory(inp,history):
675
  error_box=""
676
  json_out={}
@@ -683,7 +685,7 @@ def recall_memory(inp,history):
683
  print("Create new IND")
684
  out="MEMORY FILE NOT FOUND"
685
  return out,out,out,out
686
- mem_keys = mem.keys()
687
  rawp = get_mem(inp,mem_keys)
688
 
689
  history.clear()
 
671
  out_box.append(resp)
672
  create_index()
673
  return out_box
674
+
675
+
676
  def recall_memory(inp,history):
677
  error_box=""
678
  json_out={}
 
685
  print("Create new IND")
686
  out="MEMORY FILE NOT FOUND"
687
  return out,out,out,out
688
+ mem_keys = mem[0].keys()
689
  rawp = get_mem(inp,mem_keys)
690
 
691
  history.clear()