awacke1 commited on
Commit
1f2f99c
1 Parent(s): 27f9a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -37,6 +37,7 @@ try:
37
  )
38
  except:
39
  print("file not found")
 
40
  def AIMemory(name: str, message: str):
41
  if name and message:
42
  with open(DATA_FILE, "a") as csvfile:
@@ -48,15 +49,11 @@ def AIMemory(name: str, message: str):
48
  with open('Mindfulness.txt', 'r') as file:
49
  context = file.read()
50
 
51
-
52
-
53
  # Set up cloned dataset from repo for operations
54
  repo = Repository(
55
  local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
56
  )
57
 
58
-
59
-
60
  @st.experimental_singleton
61
  def get_db_firestore():
62
  cred = credentials.Certificate('test.json')
 
37
  )
38
  except:
39
  print("file not found")
40
+
41
  def AIMemory(name: str, message: str):
42
  if name and message:
43
  with open(DATA_FILE, "a") as csvfile:
 
49
  with open('Mindfulness.txt', 'r') as file:
50
  context = file.read()
51
 
 
 
52
  # Set up cloned dataset from repo for operations
53
  repo = Repository(
54
  local_dir="data", clone_from=DATASET_REPO_URL, use_auth_token=HF_TOKEN
55
  )
56
 
 
 
57
  @st.experimental_singleton
58
  def get_db_firestore():
59
  cred = credentials.Certificate('test.json')