zeyadahmedd commited on
Commit
856fb94
·
1 Parent(s): 8906687

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -127,10 +127,6 @@ def create(data):
127
  if(not os.path.exists(id)):
128
  return "sorry ,there is no directory for this client"
129
  else:
130
- try:
131
- chroma_client.delete_collection(name=id)
132
- except error:
133
- pass
134
  collection = chroma_client.get_or_create_collection(name=id)
135
  print(os.chdir(id))
136
  return create_multiple_db(os.getcwd(),collection,working_dir)+" making data for client"
 
127
  if(not os.path.exists(id)):
128
  return "sorry ,there is no directory for this client"
129
  else:
 
 
 
 
130
  collection = chroma_client.get_or_create_collection(name=id)
131
  print(os.chdir(id))
132
  return create_multiple_db(os.getcwd(),collection,working_dir)+" making data for client"