Omnibus commited on
Commit
9d82874
·
verified ·
1 Parent(s): d3a89fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -682,6 +682,10 @@ def save_memory(purpose, history):
682
  create_index()
683
  return out_box
684
 
 
 
 
 
685
 
686
  def recall_memory(inp,history):
687
  error_box=""
@@ -699,7 +703,9 @@ def recall_memory(inp,history):
699
  return out,out,out,out
700
  mem_keys = mem[0].keys()
701
  rawp = get_mem(inp,mem_keys)
702
-
 
 
703
  history.clear()
704
  history.append((inp,rawp))
705
  yield "", history,error_box,json_out
 
682
  create_index()
683
  return out_box
684
 
685
+ def valid_list(inp):
686
+ inp_typ = type(inp)
687
+ print(inp_typ)
688
+
689
 
690
  def recall_memory(inp,history):
691
  error_box=""
 
703
  return out,out,out,out
704
  mem_keys = mem[0].keys()
705
  rawp = get_mem(inp,mem_keys)
706
+ valid_list(rawp)
707
+ valid_list(["123","333"])
708
+
709
  history.clear()
710
  history.append((inp,rawp))
711
  yield "", history,error_box,json_out