Omnibus commited on
Commit
ca42a9b
1 Parent(s): 9d82874

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -684,7 +684,11 @@ def save_memory(purpose, history):
684
 
685
  def valid_list(inp):
686
  inp_typ = type(inp)
687
- print(inp_typ)
 
 
 
 
688
 
689
 
690
  def recall_memory(inp,history):
 
684
 
685
  def valid_list(inp):
686
  inp_typ = type(inp)
687
+ if inp_typ=="<class 'str'>":
688
+ print("STRING")
689
+ new_list=list(inp_typ.split("[")[1].split("]",-1)[0]))
690
+ print(new_list)
691
+ print(type(new_list))
692
 
693
 
694
  def recall_memory(inp,history):